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 way it works.
Hm, couldn't you also do that with a sub that explicitly throws a "return" exception to the caller Routine?
-- brandon s. allbery [solaris,freebsd,perl,pugs,haskell] allb...@kf8nh.com system administrator [openafs,heimdal,too many hats] allb...@ece.cmu.edu electrical and computer engineering, carnegie mellon university KF8NH