I'm running Red Hat 7.2 with Perl 5.6.1, if I run a script with: perl script.pl the script runs fine.
Unfortunately if I try to simply run the script I get the following error:
: bad interpreter: No such file or directory
I checked which perl and it returns /usr/bin/perl.
The first line of my script is #!/usr/bin/perl.