Maybe this counts as a best practice, or maybe it's more of a
pattern. In a recent piece of code, I found a way to exploit code
blocks to act like return statements with side effects. The
resulting code became very clean, so I decided to blog about the way
it works.
* Timothy S. Nelson (wayl...@wayland.id.au) [081220 03:45]:
Btw, looks like I was wrong about the terminology of
CPAN6/6PAN/whatever. See link below for details (the new Terminology
section).
http://svn.pugscode.org/pugs/docs/Perl6/Spec/S22-package-format.pod
I do not understand
On 2008 Dec 20, at 13:39, Carl Mäsak wrote:
Maybe this counts as a best practice, or maybe it's more of a
pattern. In a recent piece of code, I found a way to exploit code
blocks to act like return statements with side effects. The
resulting code became very clean, so I decided to blog about the