To be equivalent to the parent code, and to retain the genericity of ( ... ) x!! ...,
return("");
should be
return;
or
return wantarray ? () : "";
This doesn't affect your argument.
In reply to Re^4: Secret Perl Operators: the boolean list squash operator, x!!
by ikegami
in thread Secret Perl Operators: the boolean list squash operator, x!!
by Aristotle
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |