Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight
 
PerlMonks  

Re: installing multiple versions of same module

by TheHobbit (Pilgrim)
on Apr 26, 2002 at 18: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 18: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 about the Monastery: (13)
As of 2018-12-18 19:36 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    How many stories does it take before you've heard them all?







    Results (80 votes). Check out past polls.

    Notices?