--- Andy Armstrong <[EMAIL PROTECTED]> wrote: > Can anyone think of anything wrong with the approach of replacing > require with an instrumented version? If the consensus is that that's > a sensible approach I'll play with tidying up the code.
You know, that solves an annoying problem I've had with some code which attempts to rebuild a module's source from what's loaded (very handy for debugging). I couldn't figure out how to tell what module another module has loaded, but now it looks like I can :) Cheers, Ovid -- Buy the book - http://www.oreilly.com/catalog/perlhks/ Perl and CGI - http://users.easystreet.com/ovid/cgi_course/ Personal blog - http://publius-ovidius.livejournal.com/ Tech blog - http://use.perl.org/~Ovid/journal/