BSD Ports

devel/p5-Clone 0.50nb1 NetBSD

Perl module for recursively copying datatypes

System
NetBSD
Repository
pkgsrc
Maintainer
[email protected]
Last update
Commit
f7f17b8d62
License
gnu-gpl-v2 OR artistic
Categories
devel, perl5
Package size
14.7 KiB, 36.8 KiB installed

Description

This module provides a clone() method which makes recursive copies of nested hash, array, scalar and reference types, including tied variables and objects.

In the other systems

The newest version among them is 0.50, as upstream numbers it.

SystemPortVersionVulnerabilitiesStatusMaintainerLast update
NetBSDdevel/p5-Clone0.50nb1 newestnone known-[email protected]2026-10-04
FreeBSDdevel/p5-Clone0.50 newestnone known-[email protected]-
OpenBSDdevel/p5-Clone0.50 newestno data-Andrew Hewus Fresh <[email protected]>2026-08-18
DragonFlydevel/p5-Clone0.47 behind since 2026-08-18none known-[email protected]-
MidnightBSDdevel/p5-Clone0.50 newestno data-[email protected]2026-07-13
HardenedBSDdevel/p5-Clone0.50 newestno data-[email protected]-
GhostBSDdevel/p5-Clone0.50 newestno data-[email protected]-
OPNsensedevel/p5-Clone0.50 newestno data-[email protected]-

Compare across BSDs

Version history 1

  1. 0.51 f7f17b8d62

Upstream's version as each commit to the port's Makefile set it, or as this site first saw it in the system's packages; the tree's own revisions are not versions here.

Install

Binary package:

pkgin install p5-Clone

From pkgsrc:

cd /usr/pkgsrc/devel/p5-Clone && make install clean

Packages

The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.

RepositoryVersion
NetBSD 10.1 x86_640.50nb1
NetBSD 10.1 aarch640.50
SmartOS / illumos x86_640.51
macOS 15 arm640.51

Dependency graph

Ports that need it on the left, what it needs to run on the right; at most 8 of each. "Dependencies" below lists them all.

Dependencies

Run dependencies 1

Commit history 2

DateCommitCreditsLog message
f7f17b8d62 wiz p5-Clone: update to 0.51.
0.51 2026-10-01 atoomic - fix: clone deep hash and mixed array/hash structures past MAX_DEPTH without C stack growth (GH #121, GH #146) - fix: support cloning Perl 5.38+ class instances (SVt_PVOBJ) - fix: count nesting depth, not call count, in rdepth - fix: honour depth==0 when rdepth exceeds MAX_DEPTH on wide structures - fix: preserve shared RV identity in rv_clone_iterative - fix: guard rv_clone_iterative against scalar-ref cycles past MAX_DEPTH - fix: share non-cloneable leaves in rv_clone_iterative - fix: preserve blessings in iterative array chain walking (GH #121) - fix: deep-copy leaf scalars past MAX_DEPTH instead of aliasing - fix: release cloned mg_obj refcount after sv_magic (memory leak) - fix: remove leaked Newxz buffer in magic mg_ptr cloning …
618415630a wiz *: recursive bump for perl5 5.44.0