why not just:
retrun thatroutine() if thatroutine()edit: or
if (thatroutine()) {return $_}In reply to Re^2: looking for a good idiom: return this if this is true
by wolfger
in thread looking for a good idiom: return this if this is true
by merlyn
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |