if (my $result = thatroutine()) { return $result; } [download]
In reply to For clarity and cleanliness, I'd recommend... by TheDamian in thread looking for a good idiom: return this if this is true by merlyn