Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change
 
PerlMonks  

Re: Execute a Perl code without ".pl" extension

by jZed (Prior)
on Mar 10, 2006 at 01:25 UTC ( [id://535585]=note: print w/replies, xml ) Need Help??


in reply to Execute a Perl code without ".pl" extension

In order to answer your question, we'd have to know what shell and OS you are using. If you are using bash or a related *nix shell, then the "shebang" line of your code (the first line of the myperlcode script) should have a full path to your perl interpreter and the myperlcode file should be executable. If you're on some other OS or some other shell, that may not be sufficient.
  • Comment on Re: Execute a Perl code without ".pl" extension

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others taking refuge in the Monastery: (5)
As of 2024-04-16 05:00 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found