szabgab has asked for the wisdom of the Perl Monks concerning the following question:
and I know I will somehow have to add this directory to @INC. As I would like to use these local installation in all of my modules I decided to add the path to PERL5LIB. The problem is that it seems various modules will install themself in diferent subdirectories. So now I have the following directories in PERL5LIB:Makefile.PL PREFIX=/home/gabor/perl5lib
and I fully expect that I'll have to add even more directories as I install more modules. Is there an easier way to declare all these directories?export P5=/home/gabor/perl5lib export PERL5LIB=$P5/share/perl export PERL5LIB=$PERL5LIB:$P5/lib/perl export PERL5LIB=$PERL5LIB:$P5/share/perl/5.8 export PERL5LIB=$PERL5LIB:$P5/usr/local/share/perl/5.8.7 export PERL5LIB=$PERL5LIB:$P5/lib/perl/5.8 export PERL5LIB=$PERL5LIB:$P5/usr/local/lib/perl/5.8.7
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: Installing modules locally
by tinita (Parson) on Jul 27, 2006 at 12:31 UTC | |
by rinceWind (Monsignor) on Jul 27, 2006 at 12:44 UTC | |
by szabgab (Priest) on Jul 27, 2006 at 13:36 UTC | |
Re: Installing modules locally
by Hue-Bond (Priest) on Jul 27, 2006 at 11:53 UTC | |
Re: Installing modules locally
by holli (Abbot) on Jul 27, 2006 at 11:56 UTC | |
Re: Installing modules locally
by Hofmator (Curate) on Jul 27, 2006 at 12:29 UTC | |
Re: Installing modules locally
by rinceWind (Monsignor) on Jul 27, 2006 at 12:36 UTC | |
Re: Installing modules locally
by aspeer (Initiate) on Jul 29, 2006 at 06:10 UTC |