Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:
I need to find the absolute path of some use'd modules.
%INC holds what I need, but Camel doesn't state whether %INC keys are OS dependent.
Eg, if I need the location of LWP::Simple, can I simply write:
my $file = $INC{"LWP/Simple.pm"};
Or does "LWP/Simple.pm" need to be converted to whatever form is used on a specific platform.
Thanks for your help.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Are %INC keys OS dependent?
by belg4mit (Prior) on Jul 22, 2003 at 23:53 UTC | |
by grantm (Parson) on Jul 23, 2003 at 01:29 UTC | |
by diotalevi (Canon) on Jul 23, 2003 at 04:16 UTC | |
|
Re: Are %INC keys OS dependent?
by bart (Canon) on Jul 23, 2003 at 10:17 UTC | |
|
Re: Are %INC keys OS dependent?
by PodMaster (Abbot) on Jul 23, 2003 at 04:34 UTC | |
|
Re: Are %INC keys OS dependent?
by bobn (Chaplain) on Jul 22, 2003 at 23:46 UTC | |
|
Re: Are %INC keys OS dependent?
by Anonymous Monk on Jul 23, 2003 at 20:53 UTC |