Andre_br has asked for the wisdom of the Perl Monks concerning the following question:
I am in need of some modules my host staff says it would be better if I install them in a personal lib directory, like this:
Isnīt this a dirty installation? I mean, just copying the .pm files to their tree? Here, at development, I always install modules through the PPM3 shell. Can I do that in this case too? How to specify to PPM3 that the specific target isnīt my host's central module repository?> 1. pick a location for your personally installed and created perl mo +dules > such as /home/username/perl > 2. build a module tree such as > /home/username/perl/ > Greg/MyModule.pm > XML/RSS.pm > HTML/Template.pm > CGI/Session.pm > then in your code add a new path to @INC using the line: > use lib "/home/username/perl";
Thanks a lot
André
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: Installing modules in personal lib directory
by Joost (Canon) on Aug 30, 2005 at 00:20 UTC | |
by Andre_br (Pilgrim) on Aug 30, 2005 at 00:41 UTC | |
by Joost (Canon) on Aug 30, 2005 at 01:25 UTC | |
by eXile (Priest) on Aug 30, 2005 at 14:50 UTC | |
Re: Installing modules in personal lib directory
by jimX11 (Friar) on Aug 30, 2005 at 00:52 UTC | |
Re: Installing modules in personal lib directory
by chas (Priest) on Aug 30, 2005 at 01:38 UTC | |
Re: Installing modules in personal lib directory
by polettix (Vicar) on Aug 30, 2005 at 10:24 UTC |