Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked
 
PerlMonks  

Re: Maintaining several perl versions on the same box

by Erez (Curate)
on Sep 17, 2008 at 07:25 UTC ( #711900=note: print w/ replies, xml ) Need Help??


in reply to Maintaining several perl versions on the same box

OTTOMH, two ways:
One: call the actual perl binary, i.e. %/usr/local/perl myprogram.pl
Two: temporarily reorder the $PATH variable in your shell, i.e.

%echo $PATH /usr/bin/:/usr/local/bin
(perl is system 5.8.8 perl)
%PATH=/usr/local/bin/:/usr/bin %echo $PATH /usr/local/bin/:/usr/bin
(perl is local 5.10 perl, as the shell looks for "perl" according to the order of folders in $PATH).
Actual syntax may varies with your flavour of *NIX/shell.

Stop saying 'script'. Stop saying 'line-noise'.
We have nothing to lose but our metaphors.


Comment on Re: Maintaining several perl versions on the same box
Select or Download Code

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (4)
As of 2015-07-06 03:02 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (69 votes), past polls