didess has asked for the wisdom of the Perl Monks concerning the following question:
Is there any way to know which file has been found and loaded from @INC, after a "use" or "require" ?
For example, if I "use myPack;" I'd like to print "Package myPack was in file "....";
Thanks for your help !
Didess
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: where are my packages found ?
by Anonymous Monk on Oct 05, 2011 at 11:15 UTC | |
by didess (Sexton) on Oct 05, 2011 at 13:34 UTC | |
|
Re: where are my packages found ?
by zentara (Cardinal) on Oct 05, 2011 at 15:02 UTC | |
|
Re: where are my packages found ?
by Anonymous Monk on Oct 05, 2011 at 11:20 UTC |