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

Re^2: Is it safe to append to the array you are iterating over

by DrWhy (Chaplain)
on Mar 15, 2013 at 22:53 UTC ( [id://1023790]=note: print w/replies, xml ) Need Help??


in reply to Re: Is it safe to append to the array you are iterating over
in thread Is it safe to append to the array you are iterating over

I would not be in favor of making this documentation change, but since this is effectively adding to the list of supported features of the language, turning an implementation detail into a officially supported behavior, I wouldn't do this without adding tests for it in the perl test suite, and getting approval from whoever gives approval for behavioral changes to the language.

That is, this change should be treated as not just a 'doc fix' but a new feature.

--DrWhy

"If God had meant for us to think for ourselves he would have given us brains. Oh, wait..."

  • Comment on Re^2: Is it safe to append to the array you are iterating over

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others chilling in the Monastery: (1)
As of 2024-04-25 01:39 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found