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


in reply to Finding missing elements in a sequence (code)

I am calling it thusly:
print join "\n", @{ find_holes( \@issues ) };
and for some reason, it is returning a list of every element. @issues in this case is somewhat like this:
$VAR1 = [ '00001', '00002', '00003', '00004', '00005', '00006', '00007', '00008', '00009', #... ]
for several thousand issues.

--
Laziness, Impatience, Hubris, and Generosity.