in reply to Re^10: Does @{ } copy arrays?
in thread Does @{ } copy arrays?
>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.
|
|---|