Pathologically Eclectic Rubbish Lister | |
PerlMonks |
Re^2: counting backwardby ag4ve (Monk) |
on Mar 02, 2013 at 15:56 UTC ( [id://1021442]=note: print w/replies, xml ) | Need Help?? |
Heh, I wasn't even asking about the solutions - more about why an inline reverse operator wasn't part of the implementation (somewhat answered quoting the doc) and why this didn't present a warning. That said, I love the conversation and seeing foreach (-$var .. 0) { -$_ } - the memory use of reverse and the simplicity of the solution made me say 'damn'.
In Section
Seekers of Perl Wisdom
|
|