Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
PerlMonks  

Re^2: ranged conditional with variable

by Hofmator (Curate)
on Aug 22, 2006 at 12:11 UTC ( #568816=note: print w/replies, xml ) Need Help??


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.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://568816]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others perusing the Monastery: (2)
As of 2021-04-15 05:52 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?