http://qs321.pair.com?node_id=452374


in reply to Re^2: Is there a module which Perl has to load when using any module?
in thread Is there a module which Perl has to load when using any module?

Indeed. Of course the original discussion was about how to monitor module loading on a "per use statement basis", as can be suggested by the minimal example supplied - still sloppily speaking here, but I guess it's easy to understand what I really mean here.

But then again it was just an example of how to use a coderef in @INC to achieve something similar to what the OP wanted...