Alan Goodwin wrote:
The first line of the script is, as you might expect, #! usr/bin/perl.
Is this a typo, or is the first "/" in what should read "#!/usr/bin/perl" missing? If so that is probably your solution. If not... deeper digging is required. Maybe try running it in a terminal window: if you've saved it as "fred.pl" then move to that directory and execute the following commands...
chmod u+x fred.pl ./fred.pl
and show us the output.
Cheers, Paul