[San-Diego-pm] Use

Chris Radcliff chris_radcliff at mac.com
Tue Jan 11 12:37:58 PST 2005


That's what I get for answering e-mail before I've had tea...

I meant to write @INC, not @LIB.

~c

On Jan 11, 2005, at 10:23 AM, Bill Davidson wrote:

> Chris Radcliff wrote:
>> Then, armed with that knowledge, look into the lib module:
>>   use lib qw(..);
>>   use x;
>
> Actually, it perlfaq8 gives a basic description of the lib module;
> enough to know what to do?
>
>> Be sure to get comfortable with @LIB *first* to avoid unintended side 
>> effects.
>
> I can't find a reference to @LIB.
>
> I know about the environment variables PERLLIB and PERL5LIB (perlrun)
> I know about the -I option to perl (perlrun)
> I know about 'use lib' (pragmas/lib)
> I know about "BEGIN { unshift(@INC, 'x'); }"
> 	or "BEGIN { push(@INC, 'x'); }" (perlvar||pragmas/lib)
>
> What is @LIB?



More information about the San-Diego-pm mailing list