in reply to Translating Module Names to File Names
Since @INC can be modified at run time, this will guarantee that you are looking at exactly what perl itself will look at at the time you call the function. This is probably the safest (read: most reliable) way to get the file name.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
(bbfu) (@INC can be modified at run time) Re: Re: Translating Module Names to File Names
by bbfu (Curate) on Feb 21, 2001 at 04:52 UTC | |
by Maclir (Curate) on Feb 21, 2001 at 05:08 UTC | |
by bbfu (Curate) on Feb 21, 2001 at 05:18 UTC |