[Pdx-pm] how to append to library path?

Randal L. Schwartz merlyn at stonehenge.com
Mon Dec 15 22:02:07 CST 2003


>>>>> "Nathaniel" == Nathaniel Powning <nat at powning.org> writes:

Nathaniel> What if you're an individual user wanting to include your
Nathaniel> own modules while using the global perl binary?  Is it not
Nathaniel> okay to populate your own @INC or push an additional value
Nathaniel> into it?

Absolutely.  But that wasn't the original question.

You can affect @INC with -I on the command-line, or PERL5LIB,
or "use lib ..." or pushing directly onto @INC in a BEGIN {} block.

But that wasn't the original question. :)

-- 
Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095
<merlyn at stonehenge.com> <URL:http://www.stonehenge.com/merlyn/>
Perl/Unix/security consulting, Technical writing, Comedy, etc. etc.
See PerlTraining.Stonehenge.com for onsite and open-enrollment Perl training!



More information about the Pdx-pm-list mailing list