You didn't by chance upload from a Windows box using FTP did you? If you uploaded in binary mode, it will mangle the line endings and the #! line won't make sense to the shell. If you invoke perl manually, perl is smart enough to handle both unixy and windowsy line endings.
If you did upload with FTP, try uploading again in ASCII mode.
--Pileofrogs
In reply to Re: running scripts in Mac OS 10.4
by pileofrogs
in thread running scripts in Mac OS 10.4
by rogerd
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |