Syntactic Confectionery Delight | |
PerlMonks |
Re: Re: Validate array of numbers in sequenceby Roger (Parson) |
on Sep 08, 2003 at 22:50 UTC ( [id://289900]=note: print w/replies, xml ) | Need Help?? |
This method does not work! You can not validate the number sequence by simply adding it up. Consider the following lists: 1, 1, 4, 4 and 1, 2, 3, 4. Both add up to 10, but the first list is certainly not in sequence!
In Section
Seekers of Perl Wisdom
|
|