>perl -le"sub f { $_[0]=456; } $x=123; f($x); print $x;" 456
>perl -le"sub f { $_[0]=3; } $#a=2; f($#a); print $#a;" 3
it seems that those in the know are trying to fix it appropriately (or have already done so).
I wrote a fix. It was reviewed by Rafael who fixed a big in it and committed it.
In reply to Re^11: Does @{ } copy arrays?
by ikegami
in thread Does @{ } copy arrays?
by tford
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |