The Lovely Perl way of braces { }
The Lovely Perl way of braces { }
In Perl programming language, it is always mandatory that even a single statement in a conditional block be encompassed within { } unlike C# and other programming languages where only multiple statements are mandated for the curly brace blocks.
But I would say, the Perl way is really excellent we should follow this strictly for other languages also. This makes our code look cleaner and neater. We know where the control starts and stops and would enable a cleaner debugging too.
![[Lavanya Deepak]](http://img.photobucket.com/albums/v31/vdeepakkumar/lvdp.gif)

![[Microsoft Certified Professional]](http://img12.photobucket.com/albums/v31/vdeepakkumar/mcp.gif)



0 Comments:
Post a Comment
Subscribe to Post Comments [Atom]
<< Home