Just another Perl shrine | |
PerlMonks |
Re: Local Copy of a member variableby jeffa (Bishop) |
on Oct 20, 2005 at 17:06 UTC ( [id://501736]=note: print w/replies, xml ) | Need Help?? |
Try this instead UPDATE: but a deep copy is the better choice here. I was assuming you were dealing with a simple hash structure and i failed to notice that you were copying to hash, not a hash ref. Nothing to see here ... move along. bad jeffa :) jeffa L-LL-L--L-LL-L--L-LL-L-- -R--R-RR-R--R-RR-R--R-RR B--B--B--B--B--B--B--B-- H---H---H---H---H---H--- (the triplet paradiddle with high-hat)
In Section
Seekers of Perl Wisdom
|
|