Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"
 
PerlMonks  

Re: Code style advice: where to put "use" statements?

by talexb (Canon)
on Feb 28, 2008 at 04:11 UTC ( #670818=note: print w/ replies, xml ) Need Help??


in reply to Code style advice: where to put "use" statements?

Unless a module really only applies to a very small scope, I put all of my use statements up at the top of the file.

But if there's a piece of Perl code that needs to run as quickly as possible, I'd probably re-consider that approach. :)

Alex / talexb / Toronto

"Groklaw is the open-source mentality applied to legal research" ~ Linus Torvalds


Comment on Re: Code style advice: where to put "use" statements?
Download Code

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others studying the Monastery: (6)
As of 2014-09-23 19:15 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    How do you remember the number of days in each month?











    Results (239 votes), past polls