Keep It Simple, Stupid | |
PerlMonks |
Re: Installing modules in personal lib directory - Just canīt make it workby vishi83 (Pilgrim) |
on Nov 20, 2005 at 05:40 UTC ( [id://510199]=note: print w/replies, xml ) | Need Help?? |
Hi Andre !! If you wanna install modules from CPAN to the lib directory of your choice, then i would suggest , install them manually without using the CPAN Shell... As, tantaklus mentioned, you can run the MakeFile.PL with PREFIX and lib. That would be better and avoids confusion. .. Ok, suppose you want to install a module , say HTML::Template from CPAN, download the tar.gz file from CPAN and extract it, then you do the following,
As far as i know, I had given these lines in bashrc .. Then give source .bashrc so that the changes come to effect. Hope this is useful to you Andre !! If you find any other ways, do post it .. Am sure tantaklus too agrees to this..
Thank you ppl !!
A perl Script without 'strict' is like a House without Roof; Both are not Safe;
In Section
Seekers of Perl Wisdom
|
|