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