in reply to How to keep track of INC hash?
What is preventing you from installing a handler in @INC?
perl -le 'BEGIN{unshift @INC, sub {print $_[1]}} use CGI; # ... produces CGI.pm Carp.pm Exporter.pm CGI/Util.pm strict.pm vars.pm warnings/register.pm warnings.pm constant.pm overload.pm
It is then a simple matter of programming to figure out if your module is the one doing the loading. Or maybe not, if that's why you're asking the question. Is there something that rules out this approach?
• another intruder with the mooring in the heart of the Perl
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^2: How to keep track of INC hash?
by massa (Hermit) on Jul 15, 2008 at 10:32 UTC | |
Re^2: How to keep track of INC hash?
by jacques (Priest) on Jul 15, 2008 at 19:08 UTC | |
by grinder (Bishop) on Jul 15, 2008 at 20:16 UTC |
In Section
Seekers of Perl Wisdom