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 reply to Re: How to get Keys from hash having same value?
by merlyn
in thread How to get Keys from hash having same value?
by isha
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |