in reply to How to get Keys from hash having same value?
Oops:
isn't gonna work. You're creating a hashref (resulting in a single scalar) on the right, but assigning it to a hash (wanting a list) on the left. You should be consistent.%myhash = { 1 => 'a', 2=> 'b', 3=> 'a', 4=>'c'}
|
---|
In Section
Seekers of Perl Wisdom