http://www.perlmonks.org?node_id=248812


in reply to •Re: Surpised by foreach iterator limitation
in thread Surpised by foreach iterator limitation

It's a consistent notion, but not always common-sense, as evidenced by your (thankfully categorically rare) post.

I am curious about the (thankfully categorically rare) portion of your comment. The impression it leaves me with is that you think this a bad idea. While I agree it's very rare and not very useful in day to day use, it fits with the DWIM expectation which in my mind would certainly not be a bad thing.

-Lee

"To be civilized is to deny one's nature."