Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight
 
PerlMonks  

Re: What is the point of this coding style?

by moritz (Cardinal)
on Nov 20, 2013 at 06:27 UTC ( #1063452=note: print w/replies, xml ) Need Help??


in reply to What is the point of this coding style?

I can just speculate that people have a deeply ingrained habit of keeping scopes small, either for things like no warnings 'once';, or for variable declarations.

Of course that would only apply if the code was

{ our $VERSION = '0.35'; }

but old habits die hard.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1063452]
help
Chatterbox?
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others lurking in the Monastery: (7)
As of 2016-12-10 00:18 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    On a regular basis, I'm most likely to spy upon:













    Results (158 votes). Check out past polls.