my %info; $info{$_} .= "A" for keys %A; $info{$_} .= "B" for keys %B; for (sort keys %info) { print "$_ is in: $info{$_}\n"; }
-- Randal L. Schwartz, Perl hacker
Be sure to read my standard disclaimer if this is a reply.
In reply to •Re: Hash key intersection
by merlyn
in thread Hash key intersection
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |