in reply to Re: Ternary?
in thread looking for a good idiom: return this if this is true

$_ ? return $_ : undef for thatroutine(); #or simply return $_ if $_ for thatroutine();

Gyan Kapur