"be consistent" | |
PerlMonks |
Re^3: Pass array, then clearby ikegami (Patriarch) |
on Jan 17, 2018 at 05:03 UTC ( [id://1207395]=note: print w/replies, xml ) | Need Help?? |
It doesn't (though you did in the first line of the sub).
You didn't do anything to the reference. (You changed the value of $data.) Also, there isn't really anything you can do to a reference. You can't change a reference any more than you can change 5.
That is what happens. You didn't change any of the slots (elements of @_).
In Section
Seekers of Perl Wisdom
|
|