Pathologically Eclectic Rubbish Lister | |
PerlMonks |
Re: Finding missing elements in a sequence (code)by CubicSpline (Friar) |
on Nov 06, 2001 at 21:07 UTC ( [id://123621]=note: print w/replies, xml ) | Need Help?? |
The problem is with your argument to the find_holes sub. You're returning an array reference, so why not accept an array reference? Try this:
This worked as far as I could tell. Hope it helps. ~CS Update: The others are quite right... this does work they way you had it before. *sigh*
In Section
Seekers of Perl Wisdom
|
|