boat73 has asked for the wisdom of the Perl Monks concerning the following question:
while (($key, $value) = each(%hashA)){ print "$key = ".$hashB{$hashA{"${value}"}}."\n"; }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: How can I print hash values when the keys are the values from another hash.
by ikegami (Patriarch) on Apr 06, 2006 at 17:31 UTC | |
|
Re: How can I print hash values when the keys are the values from another hash.
by ptum (Priest) on Apr 06, 2006 at 17:31 UTC | |
|
Re: How can I print hash values when the keys are the values from another hash.
by davido (Cardinal) on Apr 06, 2006 at 19:10 UTC | |
|
Re: How can I print hash values when the keys are the values from another hash.
by TedPride (Priest) on Apr 06, 2006 at 19:51 UTC |