How about something like this (untested):
foreach (keys %hashA) { print "$_ = $hashB{$hashA{$_}} \n"; }
In reply to Re: How can I print hash values when the keys are the values from another hash.
by ptum
in thread How can I print hash values when the keys are the values from another hash.
by boat73
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |