I'm trying to figure out a way to compare a couple values to see if they are 
sequential or not. 

I'm running a for loop and grabbing a value and setting a variable through each 
iteration. At the end I would like to examine the results and see if they are 
sequential or not. 

If the values are less or more than 100 of the last then print something like 
"not sequential". If they are equal or less than 100 greater then the last then 
print "possibly sequential". 

Can anyone point me at a way to do this?
--
To unsubscribe, e-mail: beginners-unsubscr...@perl.org
For additional commands, e-mail: beginners-h...@perl.org
http://learn.perl.org/


Reply via email to