That doesn't really fix anything. The lexically scoped array will be altered, but the original array, @hello
I've never seen the OP message saying "The original array should be changed"
I've seen him creating a new array, but having difficultly to get the other variables values correct.
So while others assumed he want to change the original array, I assumed he wants to create a new one ... what's wrong with that ... and what's all that -- for?
In reply to Re^3: Passing arrays in subs
by ahmad
in thread Passing arrays in subs
by speedyshady
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |