[plug] Config.pm

Ben New ben at leftclick.com.au
Sun Sep 28 12:06:56 WST 2003


Hi,

I'm trying to add a path to @INC, so I can omit the horrible "@INC = 
(@INC, ...)" lines from all my scripts.  However on my system there are 
multiple Config.pm files.  Without resorting to trial and error, does 
anyone know which is the right one to modify?  I need to update @INC 
when perl is run from cgi (apache) and also when run from command-line.

Ben


#> find / -name Config.pm
/usr/lib/perl5/5.8.0/i386-linux-thread-multi/Config.pm
/usr/lib/perl5/5.8.0/i386-linux-thread-multi/Encode/Config.pm
/usr/lib/perl5/5.8.0/Net/Config.pm
/usr/lib/perl5/vendor_perl/5.8.0/i386-linux-thread-multi/Apache2/ModPerl/Config.pm



_______________________________________________
plug mailing list
plug at plug.linux.org.au
http://mail.plug.linux.org.au/cgi-bin/mailman/listinfo/plug


More information about the plug mailing list