Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation
 
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

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 drinking their drinks and smoking their pipes about the Monastery: (4)
As of 2016-10-01 22:08 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    How many different varieties (color, size, etc) of socks do you have in your sock drawer?






    Results (9 votes). Check out past polls.