Odd Perl interpreter problem

Lars Kellogg-Stedman lars at larsshack.org
Sat Dec 29 17:15:30 EST 2001


> I am having an odd Perl problem on Slack 8.0 box.
> 
> I have #!/usr/bin/perl as interpreter line in scripts.
> I get "bad interpreter: no such file or directory" messages when trying to 
> run the script.


Josh,

Make sure there aren't any extra spaces after the #! line. 
'#!/usr/bin/perl ' is not the same as '#!/usr/bin/perl'.

-- Lars




More information about the Discuss mailing list