in reply to
use array for hash-keys without loop
@a=qw(a b c d); @b{@a}=(1,2,3,4); foreach $key (keys %b) { print"$key => $b{$key}\n"; }
Comment on
Re: use array for hash-keys without loop
In Section
Seekers of Perl Wisdom