We don't bite newbies here... much | |
PerlMonks |
Re: the '..' operator and decreasing valuesby cog (Parson) |
on Mar 04, 2005 at 23:27 UTC ( [id://436806]=note: print w/replies, xml ) | Need Help?? |
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.
In Section
Seekers of Perl Wisdom
|
|