Commit Graph

1 Commits

Author SHA1 Message Date
simon
d4b5551b74 import p5-MooseX-Clone
Out of the box Moose only provides very barebones cloning support in
order to maximize flexibility.
This role provides a clone method that makes use of the low level
cloning support already in Moose and adds selective deep cloning based
on introspection on top of that.  Attributes with the Clone trait will
handle cloning of data within the object, typically delegating to the
attribute value's own clone method.
2009-05-12 23:33:14 +00:00