Oops, cross-posting to perl6users, where I intended to post it in the first place.
---------- Forwarded message ---------- From: Carl Mäsak <cma...@gmail.com> Date: Sat, Dec 20, 2008 at 7:39 PM Subject: Re: Recommended Perl 6 best practices? To: perl6-langu...@perl.org 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. <http://use.perl.org/~masak/journal/38123> // Carl