First of all, it doesn't make sense to use a hash when you are encoding order for obvious reasons
Exactly!
The proper Perl structure for which would be:
No, then you'd have to do
(keys(%$param))[0]
instead of
$param->{key}
to get the key. That's much worse.
In reply to Re^11: the annoying keys "key" and "value"
by ikegami
in thread the annoying keys "key" and "value"
by jabowery
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |