At 10:56 AM 6/14/01 +0900, Gupta, Ashish wrote:
> >From where is the value of @INC initialized by Perl ?

It's compiled in when perl is built.  Do a strings `which perl` | grep / 
and you'll see it.

>Can I change the value of @INC from within my program or from the
>environment ?

Both.  The former, with the lib pragma: perldoc lib.  The latter, with the 
PERL5LIB variable; perldoc perlrun and look for the Environment header.

--
Peter Scott
Pacific Systems Design Technologies
http://www.perldebugged.com

Reply via email to