in reply to Are %INC keys OS dependent?
Yes they are apparently system dependent, not that it ought to matter since perl generates the right paths for the platform you're on. If, for some reason you're generating things for another platform you could look at File::Spec.perl -Mstrict -Mwarnings -e "print join(',', %INC)" __END__ Carp.pm,C:/usr/perl/lib/Carp.pm,warnings.pm, C:/usr/perl/lib/warnings.pm, Exporter.pm,C:/usr/perl/lib/Exporter.pm, strict.pm,C:/usr/perl/lib/strict.pm
PS> You're asking about the values, not the keys ;-)
PPS> The -M are used to load some modules, otherwise %INC is empty.
--
I'm not belgian but I play one on TV.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Are %INC keys OS dependent?
by grantm (Parson) on Jul 23, 2003 at 01:29 UTC | |
|
Re: Re: Are %INC keys OS dependent?
by diotalevi (Canon) on Jul 23, 2003 at 04:16 UTC |