Welcome to the Monastery | |
PerlMonks |
Re: Braces around a section of codeby LanX (Saint) |
on Jun 26, 2019 at 14:58 UTC ( [id://11101946]=note: print w/replies, xml ) | Need Help?? |
Scoping as already mentioned by others is the most important benefit. But your code doesn't seem to use any Other motivations may be indentation of the inner code or wanting to apply loop control commands. For details on the latter please see perlsyn#Basic-BLOCKs
Cheers Rolf
In Section
Seekers of Perl Wisdom
|
|