Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW
 
PerlMonks  

Re: Module Usage

by extremely (Priest)
on Oct 14, 2000 at 03:20 UTC ( #36679=note: print w/ replies, xml ) Need Help??


in reply to Module Usage

The short form of merlyn's answer is "use with impunity" =)

His point was that the "use Xxxx" happens during the "compile" stage, before the code begins to run. See use vs. require and use are helpful.

Oddly, the opposite topic came up just a week ago or so. Someone wanted to know HOW to make a "use" not happen at compile time. Here is one post from May Detecting modules in use? and the post from Oct 9, loading a module only if you need it.

Hope that helps...

--
$you = new YOU;
honk() if $you->love(perl)

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others surveying the Monastery: (8)
As of 2016-08-24 08:43 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    The best thing I ever won in a lottery was:















    Results (340 votes). Check out past polls.