Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical

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
Comment on Re: Leveraging centralised shared perl version?
Select or Download Code

Log In?

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

How do I use this? | Other CB clients
Other Users?
Others taking refuge in the Monastery: (6)
As of 2016-05-27 22:15 GMT
Find Nodes?
    Voting Booth?