Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much
 
PerlMonks  

Re: the '..' operator and decreasing values

by cog (Parson)
on Mar 04, 2005 at 23:27 UTC ( [id://436806]=note: print w/replies, xml ) Need Help??


in reply to the '..' operator and decreasing values

If you think about it, it makes sense; it's not "all values between X and Y", but rather "all values greater than X and lower than Y".

If Y is smaller than X, of course, you get an empty list, but that can really be helpful, in some cases.

  • Comment on Re: the '..' operator and decreasing values

Replies are listed 'Best First'.
Re^2: the '..' operator and decreasing values
by shemp (Deacon) on Mar 05, 2005 at 00:03 UTC
    Actually, its all values greater than OR EQUAL to X, and less than OR EQUAL to Y.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others sharing their wisdom with the Monastery: (2)
As of 2024-04-26 03:31 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found