Problems? Is your data what you think it is? | |
PerlMonks |
Re: changing copy of a hash changes originalby 2teez (Vicar) |
on Nov 13, 2014 at 18:25 UTC ( [id://1107138]=note: print w/replies, xml ) | Need Help?? |
The sub fiddleHash is only supposed to alter hash2 but it also alters hash1 Then you will see why!
If you tell me, I'll forget. If you show me, I'll remember. if you involve me, I'll understand. --- Author unknown to me
In Section
Seekers of Perl Wisdom
|
|