in reply to Re^2: Array got modified!in thread Array got modified!
What is the point in editing $ele, if you then discard it?
By all means, I have to pick elements out, one by one, change to some expected pattern, then throw it to other subs to do something( which I didn't state in the code ).
Also, it implies that, I will reuse the created array again, so that I don't want it changed.
Conway's Game of Life
Perl regular expressions
My Magic 8-Ball™
Results (187 votes). Check out past polls.