in reply to wantarray like wanthash
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).
|
|---|