go ahead... be a heretic | |
PerlMonks |
Re: passing hash ref to a functionby hippo (Bishop) |
on Mar 16, 2018 at 17:08 UTC ( [id://1211065]=note: print w/replies, xml ) | Need Help?? |
my %ref_hash = %{$ref}; When you do that you are creating a copy. Don't do that if you want to modify the arguments.
In Section
Seekers of Perl Wisdom
|
|