That makes a copy of the array. You are no longer assigning to the references to the original arguments, and thus your values are lost once you get out of the subroutine...($REF_array)=@_;
Technically that makes a copy of the array reference. The @Array = @{$REF_array} is what makes a copy of the array referenced. The rest of your diagnostic is correct (the original arrayref is untouched by modifications to @Array). </pedant>
In reply to Re: Re: I've read perlref
by Fletch
in thread I've read perlref
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |