One thing you really want to watch out for are recursive data structures.
Try your clone code against
my $foo = {}; $foo->{foo} = $foo;
ihb
Read argumentation in its context!
In reply to Re: deep_copy objects question
by ihb
in thread deep_copy objects question
by JAMBOID
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |