aboutsummaryrefslogtreecommitdiff
path: root/devel/p5-Data-Clone/pkg-descr
blob: 78b42dd432da6b81213071805fb6a62e1d01a06a (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
Data::Clone does data cloning, i.e. copies things recursively. This is smart so
that it works with not only non-blessed references, but also with blessed
references (i.e. objects). When clone() finds an object, it calls a clone method
of the object if the object has a clone, otherwise it makes a surface copy of
the object. That is, this module does polymorphic data cloning.

Although there are several modules on CPAN which can clone data, this module has
a different cloning policy from almost all of them. See "Cloning policy" and
"Comparison to other cloning modules" for details.

WWW: https://metacpan.org/release/Data-Clone