note
grinder
<p>What is preventing you from installing a handler in @INC?</p>
<code>
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
</code>
<p>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?</p>
<div class="pmsig"><div class="pmsig-29008">
<p align="right"><font size="-2">• another intruder with the mooring in the heart of the Perl</font></p>
</div></div>
697633
697633