Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much
 
PerlMonks  

Re: How to use 'require' properly?

by Athanasius (Bishop)
on Sep 28, 2015 at 04:43 UTC ( #1143196=note: print w/replies, xml ) Need Help??


in reply to How to use 'require' properly?

Hello flexvault,

From use:

use Module LIST
...
... It is exactly equivalent to
BEGIN { require Module; Module->import( LIST ); }
except that Module must be a bareword.

Hope that helps,

Athanasius <°(((><contra mundum Iustus alius egestas vitae, eros Piratica,

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others musing on the Monastery: (3)
As of 2020-10-29 23:14 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    My favourite web site is:












    Results (274 votes). Check out past polls.

    Notices?