Problems? Is your data what you think it is? | |
PerlMonks |
Re: find closest element of array without going overby rir (Vicar) |
on Jun 27, 2008 at 19:42 UTC ( [id://694440]=note: print w/replies, xml ) | Need Help?? |
and it works
It seems incorrect to print 100 when the input is 0. Beware backing around the corner of Perl's arrays.
Be well,
In Section
Seekers of Perl Wisdom
|
|