Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
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


Comment on Re: Leveraging centralised shared perl version?
Select or Download Code

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others examining the Monastery: (6)
As of 2014-12-25 12:20 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    Is guessing a good strategy for surviving in the IT business?





    Results (160 votes), past polls