http://www.perlmonks.org?node_id=577608


in reply to Re: Getting the intersection of n collections.
in thread Getting the intersection of n collections.

I think you may have a typo in your solution. The grep {%hash->{$_}} should perhaps be grep {$hash{$_}}.

Nice solution, though.

Cheers,

JohnGG