good chemistry is complicated, and a little bit messy -LW |
|
PerlMonks |
Re: Why does 'keys' need a named hash?by huck (Prior) |
on Apr 05, 2017 at 12:03 UTC ( [id://1187095]=note: print w/replies, xml ) | Need Help?? |
Because the second map just returns a list and keys has no use for just a list. The => operator is sometimes called the fat comma. Its use does not make something a hash.
In Section
Seekers of Perl Wisdom
|
|