Array vs. first element is completely useless.
A couple of uses:
sub c{ return caller(); } print c();; main (eval 16) 1 print scalar c();; main
print each %h;; a 1 print scalar each %h;; a
Can you really not see a few other useful uses?
In reply to Re^2: Use of wantarray Considered Harmful
by BrowserUk
in thread Use of wantarray Considered Harmful
by kyle
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |