in reply to Re: Re: Find file name
in thread Find file name
If you've got privileged access to your machine then you can simply do
to install the module. However, if you're an unprivileged user you just need to set the path to somewhere that you can write to e.gperl -MCPAN -e 'install q[File::Find::Rule]'
Or if you're installing from an unpacked tarball, just pass the PREFIX parameter to the Makefile.PL e.gshell> perl -MCPAN -e shell cpan shell -- CPAN exploration and modules installation (v1.65) ReadLine support enabled cpan> o conf makepl_arg PREFIX="/your/path/to/perl/lib"
Then just add /your/path/to/perl/lib to @INC either through lib or the environment variable $PERL5LIB e.gperl Makefile.PL PREFIX=/your/path/to/perl/lib
use lib '/your/path/to/perl/lib'; use File::Find::Rule;
HTH
_________
broquaint
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: Re: Re: Re: Find file name
by blueapache (Acolyte) on Nov 11, 2003 at 17:20 UTC | |
by broquaint (Abbot) on Nov 11, 2003 at 17:30 UTC |
In Section
Seekers of Perl Wisdom