Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options
 
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)


Comment on Re: Module Usage

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 having an uproarious good time at the Monastery: (5)
As of 2014-07-26 08:13 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My favorite superfluous repetitious redundant duplicative phrase is:









    Results (175 votes), past polls