$hash->{'string1'}{$a}
That will not work. You can't lookup a hash key by it's value. You mean
$hash->{$a}{'key1'}
--shmem
update: missed {$a}, corrected
_($_=" "x(1<<5)."?\n".q·/)Oo. G°\ /
/\_¯/(q /
---------------------------- \__(m.====·.(_("always off the crowd"))."·
");sub _{s./.($e="'Itrs `mnsgdq Gdbj O`qkdq")=~y/"-y/#-z/;$e.e && print}
In reply to Re: sort hash after value from hash in hash
by shmem
in thread sort hash after value from hash in hash
by ocs
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |