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 reply to Re: Why does 'keys' need a named hash?
by huck
in thread Why does ‘keys’ need a named hash?
by ankitpati
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |