Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid
 
PerlMonks  

Re: Apply a source filter to all modules to be loaded? (yes)

by tye (Cardinal)
on Mar 05, 2007 at 18:39 UTC ( #603263=note: print w/ replies, xml ) Need Help??


in reply to Apply a source filter to all modules to be loaded?

Is there a way to hook into the module loading process

Yes. unshift a code ref onto @INC.

so that a source filter gets applied to all modules loaded afterwards [....] Or is this crazy talk?

Yes, pretty much. (Some others might care what the original problem you are trying to solve is.)

- tye        


Comment on Re: Apply a source filter to all modules to be loaded? (yes)

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://603263]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others avoiding work at the Monastery: (14)
As of 2014-09-18 16:51 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    How do you remember the number of days in each month?











    Results (120 votes), past polls