There is a Clone module available on CPAN which implements deep cloning natively, i.e. without freezing to memory and thawing the result.So I'd recomment Clone or Scalar::Util::Clone. There is also Clone::Any which is an interface for the existing clonecapable modules.
In reply to Re^2: Local Copy of a member variable
by holli
in thread Local Copy of a member variable
by benrwebb
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |