Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris
 
PerlMonks  

Re: Leveraging centralised shared perl version?

by topher (Scribe)
on May 10, 2013 at 19:35 UTC ( #1033011=note: print w/replies, xml ) Need Help??


in reply to Leveraging centralised shared perl version?

What if you were to use #!/usr/bin/env perl as your shebang line. That will pick the appropriate Perl based on your $PATH configuration. You can then just let things go if you don't care which available Perl gets used, or tweak your $PATH to force the usage of a specific Perl installation without having to (futher) change scripts.

Christopher Cashell

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1033011]
help
Chatterbox?
[karlgoethebier]: Confusing "Bembel" with "Membel" might result in a slap in the face in Hesse...
[karlgoethebier]: shmem: Yes. Greetings from Dr. Freud
[Discipulus]: blue pain is a synōnymía
[karlgoethebier]: Discipulus: Just a typo in this case ;-)

How do I use this? | Other CB clients
Other Users?
Others contemplating the Monastery: (12)
As of 2017-05-24 09:03 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?