Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical
 
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 cooling their heels in the Monastery: (7)
As of 2015-07-05 20:12 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (67 votes), past polls