Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options
 
PerlMonks  

Re: Re: Re: Load all modules in directory

by ysth (Canon)
on Dec 11, 2003 at 05:13 UTC ( [id://313978]=note: print w/replies, xml ) Need Help??


in reply to Re: Re: Load all modules in directory
in thread Load all modules in directory

The require needs a file name and the import needs a package name. So you need to figure out how to require "/home/tboyd/lib/site_perl/5.6.1/Tools/ModuleA.pm" but import "Tools::ModuleA".

You might want to see the thread about import.pm on perl5-porters for ideas about doing this or reasons not to.

  • Comment on Re: Re: Re: Load all modules in directory

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others imbibing at the Monastery: (2)
As of 2024-04-26 07:45 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found