I beg to differ. The do will always work, it's just the print and return that could fail if print fails but as you say how often does that happen? return print "preturn" if $arg does not suffer from this problem and also works. So there are at least 4 idioms to do this.
cheers
tachyon
s&&rsenoyhcatreve&&&s&n.+t&"$'$`$\"$\&"&ee&&y&srve&&d&&print
In reply to Re: (bbfu) (another way) Re: print and return...
by tachyon
in thread print and return...
by suaveant
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |