or probably more correctlyreturn wantarray ? () : undef;
return !defined(wantarray) || wantarray ? () : undef;
Makeshifts last the longest.
In reply to Re^4: How to say 'oops' in OOPs? (blank return is subtle)
by Aristotle
in thread How to say 'oops' in OOPs?
by Willard B. Trophy
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |