in reply to Pattern Matching Problem

Hey, it works!! What is the .. operator supposed to do? I've not seen it before.. Mike

Replies are listed 'Best First'.
RE: Re: Pattern Matching Problem
by davorg (Chancellor) on Jun 26, 2000 at 15:15 UTC

    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/>