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
In Section
Seekers of Perl Wisdom