Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW

Re: Include Modules Automatically?

by jasonk (Parson)
on Jan 06, 2009 at 21:01 UTC ( #734499=note: print w/ replies, xml ) Need Help??

in reply to Include Modules Automatically?

When they are all similarly named like this, I tend to go for the Module::Find approach:

package MyPlugins; use Module::Find (); Module::Find::useall( __PACKAGE__ );

Although you need a bit more than that if the modules are exporting things.
We're not surrounded, we're in a target-rich environment!

Comment on Re: Include Modules Automatically?
Download Code

Log In?

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

How do I use this? | Other CB clients
Other Users?
Others taking refuge in the Monastery: (7)
As of 2015-11-25 13:37 GMT
Find Nodes?
    Voting Booth?

    What would be the most significant thing to happen if a rope (or wire) tied the Earth and the Moon together?

    Results (676 votes), past polls