Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw
 
PerlMonks  

Re: installing multiple versions of same module

by TheHobbit (Pilgrim)
on Apr 26, 2002 at 14:12 UTC ( #162356=note: print w/replies, xml ) Need Help??


in reply to installing multiple versions of same module

Hi,
A better solution (at least on Unix) would be to define the PERL5LIB shell variable. See the ENVIRONMENT section in the perlrun man page.

Cheers
Leo TheHobbit

Replies are listed 'Best First'.
Re: Re: installing multiple versions of same module
by jsprat (Curate) on Apr 26, 2002 at 14:46 UTC
    For certain definitions of the word better ;-)

    Seriously, this does work, and it works on Windows too. Just not all the time. If you're the only one running the script, it will work fine.

    If someone else is running your script, he/she may not have the same environment that you do. Rather than force everyone to have the same environment variable set, I'd prefer giving them access to my module directory. Let the script handle the rest.

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others studying the Monastery: (11)
As of 2018-10-16 12:28 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    When I need money for a bigger acquisition, I usually ...














    Results (85 votes). Check out past polls.

    Notices?