Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer

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?

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

How do I use this? | Other CB clients
Other Users?
Others rifling through the Monastery: (10)
As of 2015-10-06 17:00 GMT
Find Nodes?
    Voting Booth?

    Does Humor Belong in Programming?

    Results (155 votes), past polls