perl: fix bash syntax

I thought I could make a small syntax change without trying, I was being
foolish.