Could you please elaborate what you mean with less code?
Can you provide an example showing the difference?
TraceUse hooks into @INC with a callback like recently discussed.
With this approach its even possible to report before anything is included and to avoid the import.
Cheers Rolf
( addicted to the Perl Programming Language)
In reply to Re^3: Hacking Perl Code
by LanX
in thread Hacking Perl Code
by carlriz
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |