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.