[Date Prev][Date Next][Thread Prev][Thread Next] [Search] [Date Index] [Thread Index]

Re: [MacPerl] Re: MacPerl and localtime(time-offset) problem



pudge@pobox.com (Chris Nandor) writes:
}Hmmm ... question: is the $INC[0] supposed to be the main lib directory?

Clearly it isn't forced to be, since you can always change it in your
script(s).  On Unix it's whatever is in the first slot of your PERL5LIB
environment variable if you have one.  So you can't rely on it being the
main lib directory, although it usually is.

}
}$INC[0] is the new lib:MacPPC directory (which, BTW, is also missing the
}trailing : in @INC, I believe).
}
}Maybe it is just convention that $INC[0] is usually the main lib.

Under MacPerl it seems to be a little more than convention, since :MacPerl
Ä:lib is automatically in @INC in the [0] slot.  There doesn't seem to be
any way to rearrange the contents of @INC in the Preferences.  Too bad,
because I'd like my own PERL5LIB folder to be searched first...

}
}--
}Chris Nandor             pudge@pobox.com             http://pudge.net/
}%PGPKey=('B76E72AD',[1024,'0824 090B CE73 CA10  1FF7 7F13 8180 B6B6'])


---
Paul J. Schinder
NASA Goddard Space Flight Center
Code 693, Greenbelt, MD 20771
schinder@pjstoaster.pg.md.us



***** Want to unsubscribe from this list?
***** Send mail with body "unsubscribe" to mac-perl-request@iis.ee.ethz.ch