Edited d/t typing too fast and not rereading. Thx injunjoel.my %where; map {$where{$_} = 1} keys %firsthash; map {$where{$_} += 10} keys %secondhash; foreach (keys %where) { print "$_: first list only\n" if $where{$_} == 1; print "$_: second list only\n" if $where{$_} == 10; }
In reply to Re: Need advice on hashes and methods
by BrianC
in thread Need advice on hashes and methods
by tom2112
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |