APM: How do you modify the @INC array?

Dennis Moore rainking at feeding.frenzy.com
Fri Jul 9 14:08:45 CDT 2004


On Fri, Jul 09, 2004 at 10:57:23AM -0600, Bakken, Tom - Temple, TX wrote:
> This should be an easy one.  I want to modify the default @INC array.  I
> don't want to prepend it, but modify the system settings.

If you want to change the default one, you have to recompile perl.  If you
want to modify it at compile time:

use lib qw(/foo/bar);

`man lib` for more info.

-- 
<BLINK> ;for (74,1970500640,1634627444,1751478816,1348825708,543711587,
1801810465){for($x=1<<1^1;$x>=1>>1;$x--) {$q=hex ff,$r=oct($x=~s,\d,$&*
10,e,$x),$x/=1/.1,$q<<=$r,$s.=chr (($_&$q)>>$r),$t++}}while($= ||= !$|)
{$o=$o?$?:$/;$|=1;print $o?$s:$"x$t if$;;print"\b"x$t;sleep 1} </BLINK>



More information about the Austin mailing list