> jason corbett wrote: > > How can I install it when I don't have root rights to place it in the bin? > > First, please reply to the list. Second, either get the person who does have > root access to install the module or install it locally in your home dir and add > it to your @INC (someone else can tell you how to do that). >
Generally this is handled by adding a PREFIX switch to either the perl Makefile.PL command or by configuring the 'makepl_arg' setting in CPAN. Additionally you may want to set the LIB switch as well. See, "5) I am not root, how can I install a module in a personal directory?" in perldoc CPAN (near the bottom) Having installed the module, you will then want to add a line similar to, use lib qw( /path/to/new/lib/dir ); In your script(s). If you don't where the script will live on the system but can make the new lib directory relative to the script you should have a look at, perldoc FindBin Or consider having the users set the PERL5LIB environment variable with the new path, for instance in bash, export PERL5LIB=/path/to/new/lib/dir HTH, come back if you get stuck or have more questions, http://danconia.org -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] <http://learn.perl.org/> <http://learn.perl.org/first-response>