Look at the section on "Range Operators" in perldoc perlop.
Basically, when used in a scalar context (like an if statement). It returns false until the left hand expression is true. It then returns true until the right hand expression becomes true.
Hope this helps.
--
<http://www.dave.org.uk>
European Perl Conference - Sept 22/24 2000
<http://www.yapc.org/Europe/>
|