Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine

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!

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 drinking their drinks and smoking their pipes about the Monastery: (9)
As of 2016-10-24 08:33 GMT
Find Nodes?
    Voting Booth?
    How many different varieties (color, size, etc) of socks do you have in your sock drawer?

    Results (304 votes). Check out past polls.