[LA.pm] FW: Perl Modules
Anthony Molinaro
anthonym at overture.com
Tue Mar 4 12:38:12 CST 2003
Actually, I believe you may want to use PREFIX=~/perl, then set
your PERL5LIB path to include ~/perl/lib/perl5 and
~/perl/lib/perl5/site_perl.
So a quick example might be.
% perl Makefile.pl PREFIX=$HOME/perl
% make
% make install
% PERL5LIB=$HOME/perl/lib/perl5:$HOME/perl/lib/perl5/site_perl \
perldoc -l New::Module
The final command should print out the path to the module which
should be in $HOME/perl/ somewhere.
-Anthony
On Mon, Mar 03, 2003 at 10:30:50PM -0800, Jeremy Leader wrote:
> At 09:37 PM 3/3/03 , Arkadiy Sudarikov wrote:
> >How do I install a Perl Module on a Unix-flavored machine if I don't have
> >root, but a mere user account, with shell?
>
> I believe you can configure the cpan program to pass LIB=~/perl
> (or someplace else of your choice) to the "perl Makefile.PL"
> command. You'd probably also have to set your PERL5LIB path (and
> perhaps also PATH or LD_LIBRARY_PATH) to search this directory
> before searching the standard Perl directories.
>
> Jeremy
>
> _______________________________________________
> Losangeles-pm mailing list
> Losangeles-pm at mail.pm.org
> http://mail.pm.org/mailman/listinfo/losangeles-pm
--
------------------------------------------------------------------------
Anthony Molinaro <anthonym at overture.com>
More information about the Losangeles-pm
mailing list