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


in reply to Re^3: Array got modified!
in thread Array got modified!

haha.. sorry I mislead something... In general to say, I am not trying to edit the array, I just want to loop through and read the array

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.