saintmike has asked for the wisdom of the Perl Monks concerning the following question:
Is there a way to hook into the module loading process, so that a source filter gets applied to all modules loaded afterwards?
Some thing like:
Or is this crazy talk?BEGIN { # ... some magic } use Foo::Bar; # Source filter gets applied # when it's loaded.
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: Apply a source filter to all modules to be loaded?
by Corion (Patriarch) on Mar 05, 2007 at 18:44 UTC | |
Re: Apply a source filter to all modules to be loaded? (yes)
by tye (Sage) on Mar 05, 2007 at 18:39 UTC | |
Re: Apply a source filter to all modules to be loaded?
by chromatic (Archbishop) on Mar 05, 2007 at 19:22 UTC |
Back to
Seekers of Perl Wisdom