This error message puzzles me, and I can't really imagine any reason for it.
Do check however, whether the minus sign in -e is a real minus sign, not just some look-alike character.
Update You may also want to check for perl being an alias or perl-function. (In bash, you do that with the command type perl.) I recently had some bad experience with a shell function set up in /etc/profile I didn't know of.
In reply to Re: perl -e problem
by ambrus
in thread perl -e problem
by dantheman1210
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |