Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?
 
PerlMonks  

Re: bad interpreter: No such file or directory

by trantor (Chaplain)
on Jul 22, 2004 at 08:48 UTC ( #376511=note: print w/replies, xml ) Need Help??


in reply to bad interpreter: No such file or directory

If this is a standard Red Hat Linux 9, then the correct path is /usr/bin/perl and your script should start with:

#!/usr/bin/perl.

If in doubt, type this command at the shell prompt, it will tell you where the perl executable is found:

which perl

As a side note, "Perl" is the language, "perl" is the program used to run Perl programs, but there is no such thing as "PERL". Please check the FAQ here.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://376511]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others pondering the Monastery: (4)
As of 2023-12-02 05:47 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    What's your preferred 'use VERSION' for new CPAN modules in 2023?











    Results (13 votes). Check out past polls.

    Notices?