Gossamer Forum
Home : General : Perl Programming :

checking values against a range

Quote Reply
checking values against a range
I have a array of items sorted by Epoch time, and i want to check the value of eace one against a Epoch range, which is represented by 2 variables. I have being checking against examples in the Perl cookbook and can get one example to show up, but if is remove the <<last;>>, it cycles through forever. any previous experiences that anyone wants to share??

Quote Reply
Re: checking values against a range In reply to
You will need to use the $last; variable to denote the last value in the array you are checking.

Why do you want to remove it?

Regards,

Eliot Lee