Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change
 
PerlMonks  

Re^3: Pearls (not really) of Perl programming

by Anonymous Monk
on Nov 25, 2004 at 18:17 UTC ( #410441=note: print w/replies, xml ) Need Help??


in reply to Re^2: Pearls (not really) of Perl programming
in thread Pearls (not really) of Perl programming

It's funny that you mention C - whenever I had to deal with it, I would always create additional blocks inside a func just to limit variable scope.
int a() { { int a, b; ... } /* move on */ { int a, b, c; } }
That did result in some excessive indentation though.

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others examining the Monastery: (1)
As of 2017-09-22 00:26 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    During the recent solar eclipse, I:









    Results (255 votes). Check out past polls.

    Notices?