http://qs321.pair.com?node_id=568816


in reply to Re: ranged conditional with variable
in thread ranged conditional with variable

What you know is probably .. in list context. The OP is using .. in scalar context (the so called flip-flop operator), see perldoc perlop -> Range Operators

-- Hofmator

Replies are listed 'Best First'.
Re^3: ranged conditional with variable
by izut (Chaplain) on Aug 22, 2006 at 12:29 UTC

    Thanks for your reply! We are always learning Perl magics :-)

    Igor 'izut' Sutton
    your code, your rules.