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