in reply to
Annotation of Anonymous Blocks
I don't think there's anything wrong with a naked opening brace. If I had to chose, I'd certainly go with
do { }
, because it expresses the intent more clearly than the others.
Perl 6 - second systems done right
Comment on
Re: Annotation of Anonymous Blocks
Download
Code
Replies are listed 'Best First'.
Re^2: Annotation of Anonymous Blocks
by
Anonymous Monk
on Sep 30, 2011 at 13:10 UTC
but
do
requires the extra semicolon! (And a lone
do
looks alien to C coders.)
[reply]
In Section
Seekers of Perl Wisdom