[ale] OT perl hash help
David Hamm
ale at spinnerdog.com
Mon Aug 4 14:05:23 EDT 2008
Thanks Mike, the problem is crystal clear now.
On Monday 04 August 2008 11:57, Mike Fletcher wrote:
> contains are still references to the same second level hashes (your
> original and copy both point to the same hash for the key 'Ipconfig').
>
> You either need to walk the second level and make copies at that depth
> as well, or more generically use some sort of serialization (Storable,
> Data::Dumper, YAML::Syck) to make a deep copy instead.
More information about the Ale
mailing list