in reply to Re^10: the annoying keys "key" and "value"
in thread the annoying keys "key" and "value"
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.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^12: the annoying keys "key" and "value"
by jabowery (Beadle) on Dec 24, 2010 at 04:24 UTC | |
by ikegami (Patriarch) on Dec 24, 2010 at 04:33 UTC | |
by jabowery (Beadle) on Dec 24, 2010 at 06:32 UTC | |
by ikegami (Patriarch) on Dec 24, 2010 at 16:46 UTC | |
by jabowery (Beadle) on Dec 25, 2010 at 21:35 UTC | |
|