Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot
 
PerlMonks  

Re: Module Usage

by extremely (Priest)
on Oct 14, 2000 at 03:20 UTC ( [id://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
Domain Nodelet?
Node Status?
node history
Node Type: note [id://36679]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others exploiting the Monastery: (6)
As of 2024-04-23 18:57 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found