in reply to simple converter :-)
in thread sh to pl?

Hey, no cheating!

Massyn, he's just piped your shell script to the shell. Sheesh.

'Course, my assumption that you want the script rewritten in Perl may be incorrect. :)