I think there needs to be another slash in front of 'usr'. If you don't know where perl is located, type 'which perl' or 'whereis perl' at the command line to see.
Printable View
I think there needs to be another slash in front of 'usr'. If you don't know where perl is located, type 'which perl' or 'whereis perl' at the command line to see.
*Ooops* Typo :o
Thanks, people!
But the problem clearly isn't the shebang line, for it worked fine before. Only after saving and uploading (Win2k), it doesn't work anymore.
If it is of any help:
The working files appear to have little blocks between the lines instead of normal line breaks (enters).
Thanks,
Da Byte
Unix/Windows line termination :)
Change all occurences of \r\n in your file to \n - this is why they show as little boxes under Windows. You can do it with any good hex editor :)
Just realised...upload with FTP as ASCII and it should convert them for you.