[Gllug] Perl include path

Chris Ball chris at void.printf.net
Mon Jun 10 14:40:07 UTC 2002


>>>>> "tet" == tet  <tet at accucard.com> writes:

    tet> Any ideas how I can set the perl include path without modifying
    tet> the source I want to run? I can add a "use lib" line to each
    tet> file, but I'd rather be able to set an environment variable or
    tet> something comparable to LD_LIBRARY_PATH that affected @INC for
    tet> everything.

$PERL{,5}LIB should be what you need.  You can also run perl -I/path/.

- Chris.
-- 
$a="printf.net"; Chris Ball | chris at void.$a | www.$a | finger: chris@$a
As to luck, there's the old miners' proverb: Gold is where you find it.


-- 
Gllug mailing list  -  Gllug at linux.co.uk
http://list.ftech.net/mailman/listinfo/gllug




More information about the GLLUG mailing list