in reply to Re: complementary array indices
in thread complementary array indices

A faster way to produce %hasIndex is:
my %hasIndex; undef(@hasIndex{@a_indices});
However I wouldn't recommend using that trick in production code.