vinoth.ree has asked for the wisdom of the Perl Monks concerning the following question:
I was installing perl modules in my local directory using the PREFIX in CPAN/MyConfig.pm , I set the path as /home/ree/General/perl/ and, I was saving the path of each installed modules in the PERL5LIB environment variable in my .bashrc file as below,
export PERL5LIB="$PERL5LIB:/home/ree/General/perl/local/share/perl/5.8.8/:/home/ree/General/perl/share/perl/5.8.8/:/home/ree/General/perl/local/lib/perl/5.8.8/:/home/General/perl/share/perl/5.8.8/" So I am adding the path in this bash file, whenever I install a perl moduleIs there any other way to specify only single path in PERL5LIB , where all the perl modules gets installed ?
UpdateWhat I am asking that I want all the perl modules in a single directory instead of going 'local/share' or 'share/lib/'
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: PERL5LIB usage ?
by ikegami (Patriarch) on Jul 15, 2009 at 13:52 UTC | |
|
Re: PERL5LIB usage ?
by Anonymous Monk on Jul 15, 2009 at 09:56 UTC | |
|
Re: PERL5LIB usage ?
by cdarke (Prior) on Jul 15, 2009 at 11:49 UTC |