If you do some searching you'll find discussion on how wantarray would have been more properly named wantlist. There's three contexts: scalar, list, and void. Assigning to a hash is just using the fact that a hash can be initialized from a list of key-value pairs (so no, you couldn't tell the difference).
In reply to Re: wantarray like wanthash
by Fletch
in thread wantarray like wanthash
by slloyd
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |