in reply to How to get Keys from hash having same value?
@a_keys = grep { $myhash{$_} eq 'a' } keys %myhash;
|
---|
In Section
Seekers of Perl Wisdom
in reply to How to get Keys from hash having same value?
@a_keys = grep { $myhash{$_} eq 'a' } keys %myhash;
|
---|