Perl Monk, Perl Meditation | |
PerlMonks |
Re: Recursive copierby btrott (Parson) |
on Jun 18, 2001 at 21:48 UTC ( [id://89375]=note: print w/replies, xml ) | Need Help?? |
You could get the effect of a deep copy by serializing
and deserializing a data structure, using some method
of serialization. Eg. Data::Dumper or Storable. Or you could also investigate the Clone module, which I've not seen before but which is on CPAN. It looks like it should do what you want:
In Section
Seekers of Perl Wisdom
|
|