We don't bite newbies here... much | |
PerlMonks |
Re^3: Need help with range expression ('0 .. -0.5' === '0 .. 0.5')by vr (Curate) |
on Feb 24, 2019 at 06:36 UTC ( [id://1230486]=note: print w/replies, xml ) | Need Help?? |
No, why (from Range Operators): In list context, it returns a list of values counting (up by ones) from the left value to the right value. If the left value is greater than the right value then it returns the empty list. I'm embarrassed to see now, I posted almost the same answer as poj 10 minutes after him. I guess I just glanced across available answers without actually reading, thought his was long enough so mine is different, and clicked "create". Sorry about that.
In Section
Seekers of Perl Wisdom
|
|