Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic
 
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?
[Perl300]: thank you 1nickt and hippo

How do I use this? | Other CB clients
Other Users?
Others wandering the Monastery: (11)
As of 2017-10-17 16:20 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    My fridge is mostly full of:

















    Results (234 votes). Check out past polls.

    Notices?