http://www.perlmonks.org?node_id=436949


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

if (my $result = thatroutine()) { return $result; }