[Israel.pm] Corrupted @INC variable

Ms Vera Sheinman vera_46 at yahoo.com
Sun Feb 15 04:48:46 PST 2004


Thanks a lot for a prompt answer.
When I do shift to the existing @inc and unshift of
the full path through begin as you advised - it
recognizes the path. However, still cannot do perl -V
not from c:\Perl\bin (the "relative" path in @INC is
from there) - it complains on unsuitable @INC. Here's
what perl -V gives me when it's run from bin:
@INC:
    C:/Perl/lib
    C:/Perl/site/lib
    .

Vera


--- Yuval Yaari <yuval at windax.com> wrote:
> Tried:
> BEGIN { unshift(@INC, "/full/path"); }
> ?
> 
> Could you type: `perl -V` and give us the @INC
> section (should be in the 
> end of the output IIRC)?
> 
>   --Yuval
> 
> 
> Ms Vera Sheinman wrote:
> 
> >Hi all,
> >
> >I have got some strange @inc variable corruption -
> it
> >has turned to relative path. This problem prevents
> me
> >from even using basic "use strcit", because
> naturally
> >the location of strict.pm cannot be found. Pushing
> >correct values into the @INC variable from my
> script
> >doesn't help. Does anyone know how to change @INC
> >value permanently, outside the script, or in some
> >other way?
> >
> >Thanks,
> >Vera
> >
> 
> _______________________________________________
> Perl mailing list
> Perl at perl.org.il
> http://www.perl.org.il/mailman/listinfo/perl
> 
> YAPC::Israel::2004
> http://www.perl.org.il/YAPC/2004/


__________________________________
Do you Yahoo!?
Yahoo! Finance: Get your refund fast by filing online.
http://taxes.yahoo.com/filing.html



More information about the Perl mailing list