Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:
So say I want to install module XYZ that has dependencies. Sure I could install them into my ~/lib directory, but I could be installing modules all day at that rate, and eating up space too. (I've been prompted to install libwww-perl before when I know it exists... just not in my home directory) My other option is to leave out LIB all together and let perl look in the default locations. The modules could be there, but they may not.$ perl Makefile.PL PREFIX=~/lib LIB=~/lib
Is it possible to provide multiple paths to LIB? Say I want the Makefile to look in my ~/lib directory first, then if it's not found to look in the standard locations. then of course if the dependant module exists in neither path I simply install it in my ~/lib directory.
Thanks
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Install Modules using multiple LIB paths
by Tanktalus (Canon) on Oct 05, 2005 at 21:21 UTC |