Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number
 
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 contemplating the Monastery: (3)
As of 2020-12-03 11:43 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    How often do you use taint mode?





    Results (55 votes). Check out past polls.

    Notices?