Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris
 
PerlMonks  

Re^2: counting backward

by ag4ve (Monk)
on Mar 02, 2013 at 15:56 UTC ( #1021442=note: print w/ replies, xml ) Need Help??


in reply to Re: counting backward
in thread counting backward

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'.


Comment on Re^2: counting backward

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others having an uproarious good time at the Monastery: (4)
As of 2015-07-05 13:57 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (67 votes), past polls