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


in reply to Ultra compact set searching

I don't know how you're doing the iterated version of and_maker, but if it's not List::Util::reduce, you might try that.
use List::Util qw( reduce ); my $result = reduce { $a & $b } @int_lists_great_and_small;