perlfaq nodetype
faq_monk
<P>
When you build modules, use the
<FONT SIZE=-1>PREFIX</FONT> option when generating Makefiles:
<P>
<PRE> perl Makefile.PL PREFIX=/u/mydir/perl
</PRE>
<P>
then either set the
<FONT SIZE=-1>PERL5LIB</FONT> environment variable before you run scripts
that use the modules/libraries (see [perlman:perlrun|the perlrun manpage]) or say
<P>
<PRE> use lib '/u/mydir/perl';
</PRE>
<P>
See Perl's <U>the lib manpage</U> for more information.
<P>