Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight
 
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 imbibing at the Monastery: (11)
As of 2014-12-26 13:49 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    Is guessing a good strategy for surviving in the IT business?





    Results (171 votes), past polls