Examine what's really in the file like that:
$ hexdump -c -n 17 file.pl 0000000 # ! / u s r / b i n / p e r l \ +r 0000010 \n 0000011
If you see \r\n in your file try $ dos2unix file.pl
Regards, Karl
«The Crux of the Biscuit is the Apostrophe»
In reply to Re: Perl program does not seem to be understood by Fedora 21
by karlgoethebier
in thread Perl program does not seem to be understood by Fedora 21
by swampyankee
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |