Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked
 
PerlMonks  

Re^2: ranged conditional with variable

by Hofmator (Curate)
on Aug 22, 2006 at 12:11 UTC ( [id://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
Domain Nodelet?
Node Status?
node history
Node Type: note [id://568816]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others romping around the Monastery: (2)
As of 2024-04-24 22:52 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found