I looked at perldoc CPAN for "5 as you stated below, and didn't find anything there. 
It seems like there are some information missing as to how I would install modules and 
use them without being root. Where you stated "by configuring the 'makepl_arg' setting 
in CPAN", I would like more information on that also. I was wondering if I needed the 
CPAN module? What would I set the PERL5LIB variable to  if I am using this 
script/module combo on other servers? Finally, i was told by another member on the 
site that "mutt..." is also an easy way of mailing attachments. Can you expand on this 
if your aware of it?

Hopefully this is not taking too much of your time, but I didn't expect not to be shut 
out of this server that I am supposed to be working on.

Thanks,

JC


Wiggins d Anconia <[EMAIL PROTECTED]> wrote:
> 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]



Reply via email to