in reply to Executing use'd/require'd/base module code *after* use'r/require'r/child is compiled?

Thanks to all who replied.

I should've reminded myself (again!): "CPAN has everything, CPAN has *everything*" :-)

After just a couple of minutes browsing CPAN, I ended up using Filter::EOF.

And btw, apparently sub wrapping (including pre- and post-hooks) seem to be in a lot of people's scratch lists, evident via the existence of several CPAN modules to do this. In my specific case, I want to do some custom logging, parameter checking, as well as remoting with my subs.

  • Comment on Re: Executing use'd/require'd/base module code *after* use'r/require'r/child is compiled?