in reply to looking for a good idiom: return this if this is true

Not really any better, but there is:

$rv = thatsubroutine() and return $rv;

Replies are listed 'Best First'.
Re^2: looking for a good idiom: return this if this is true
by merlyn (Sage) on Mar 05, 2005 at 19:38 UTC