One line for two 'do stuff's? Not possible ;-). But it might look best with this design:
errorstuff if ((my ($x, $y) = mysub ($args))==1); do stuff;
In reply to Re: if multiple arg return or single fail?
by jethro
in thread if multiple arg return or single fail?
by raybies
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |