At 0:07 +0000 2004.01.16, John Delacour wrote:
>At 2:33 pm -0800 14/1/04, Bill Becker wrote:
>
>>Help! I'm getting these messages:
>>
>># Can't locate MacPerl.pm in @INC (@INC contains: : Dev:Pseudo:).
>
>Really, just that?!

For a Runtime, that is normal.  Just the current directory, and Dev:Pseudo.
If there is a :lib: *in the current directory* then it will show up in
@INC.  But it is only placed in there if it exists.  The same goes for
normal perl, too, with some directories; you just don't notice it.  Witness:

[EMAIL PROTECTED] pudge]$ cd /usr/local/lib
[EMAIL PROTECTED] lib]$ perl -le 'print join "\n", @INC'
/usr/local/lib/perl5/5.8.2/darwin
/usr/local/lib/perl5/5.8.2
/usr/local/lib/perl5/site_perl/5.8.2/darwin
/usr/local/lib/perl5/site_perl/5.8.2
/usr/local/lib/perl5/site_perl/5.8.0/darwin
/usr/local/lib/perl5/site_perl/5.8.0
/usr/local/lib/perl5/site_perl
.
[EMAIL PROTECTED] lib]$ mv perl5 perl5-mv
[EMAIL PROTECTED] lib]$ perl -le 'print join "\n", @INC'
/usr/local/lib/perl5/5.8.2/darwin
/usr/local/lib/perl5/5.8.2
/usr/local/lib/perl5/site_perl/5.8.2/darwin
/usr/local/lib/perl5/site_perl/5.8.2
/usr/local/lib/perl5/site_perl
.

-- 
Chris Nandor                      [EMAIL PROTECTED]    http://pudge.net/
Open Source Development Network    [EMAIL PROTECTED]     http://osdn.com/

Reply via email to