Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
PerlMonks  

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

by tye (Sage)
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 all is quiet...

How do I use this? | Other CB clients
Other Users?
Others meditating upon the Monastery: (4)
As of 2017-02-26 03:38 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Before electricity was invented, what was the Electric Eel called?






    Results (371 votes). Check out past polls.