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

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.


www.jasonkohles.com
We're not surrounded, we're in a target-rich environment!

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://734499]
help
Chatterbox?
[SuicideJunkie]: That's a dumb comparison. If you want to compare equivalent things, you should ask about battery+motors vs fuel tank+engine+ transmission.
[pryrt]: Are you sure?

How do I use this? | Other CB clients
Other Users?
Others musing on the Monastery: (10)
As of 2017-08-22 18:54 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Who is your favorite scientist and why?



























    Results (339 votes). Check out past polls.

    Notices?