I tried
andreturn $var if my $var = thatroutine();
but neither works.return my $var if $var = thatroutine();
In reply to Re: looking for a good idiom: return this if this is true
by jdalbec
in thread looking for a good idiom: return this if this is true
by merlyn
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |