in reply to Perl '-e' permissions problem. (code)

I don't suppose that 'perl' is aliased to something like 'perl --'? That's the only thing I can think of off the top of my head.

Ahh, that would give an error like Can't open perl script "-e": No such file or directory What version of perl are you running?