in reply to Re: I've read perlref
in thread I've read perlref

($REF_array)=@_;
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...

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>