Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer

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

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

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?

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

How do I use this? | Other CB clients
Other Users?
Others studying the Monastery: (6)
As of 2018-08-17 21:20 GMT
Find Nodes?
    Voting Booth?
    Asked to put a square peg in a round hole, I would:

    Results (184 votes). Check out past polls.