See require about the hooks, and caller about who called you(r) hook.
BEGIN { unshift @INC, sub { my ($self, $file) = @_; if ($file =~ /\bAPR.pm$/) { print "$file was loaded via " . caller(1); }; }; };
In reply to Re: The question is, for example: "What drags in APR?"
by Corion
in thread The question is, for example: "What drags in APR?"
by locked_user sundialsvc4
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |