BSD Ports

devel/p5-Data-Clone 0.006 OpenBSD

polymorphic data cloning

System
OpenBSD
Repository
OpenBSD ports
Maintainer
The OpenBSD ports mailing-list <[email protected]>
Categories
devel, perl5

Description

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.

In the other systems

SystemPortVersion
OpenBSDdevel/p5-Data-Clone0.006
FreeBSDdevel/p5-Data-Clone0.006
DragonFlydevel/p5-Data-Clone0.006
HardenedBSDdevel/p5-Data-Clone0.006
GhostBSDdevel/p5-Data-Clone0.006

Install

Binary package:

pkg_add p5-Data-Clone

From the ports tree:

cd /usr/ports/devel/p5-Data-Clone && make install

Dependencies

Build dependencies 3
Required by 1