BSD Ports

devel/p5-Clone-PP 1.08nb5 NetBSD

Recursively copy Perl datatypes

System
NetBSD
Repository
pkgsrc
Maintainer
[email protected]
Last update
Commit
08bfbc2fb5
License
gnu-gpl-v2 OR artistic
Categories
devel, perl5
Package size
7.6 KiB, 11.4 KiB installed

Description

This module provides a general-purpose clone function to make deep copies of Perl data structures. It calls itself recursively to copy nested hash, array, scalar and reference types, including tied variables and objects.

The clone() function takes a scalar argument to copy. To duplicate arrays or hashes, pass them in by reference:

The clone() function also accepts an optional second parameter that can be used to limit the depth of the copy. If you pass a limit of 0, clone will return the same value you supplied; for a limit of 1, a shallow copy is constructed; for a limit of 2, two layers of copying are done, and so on.

In the other systems

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

SystemPortVersionVulnerabilitiesStatusMaintainerLast update
NetBSDdevel/p5-Clone-PP1.08nb5 behind since 2026-09-15none known-[email protected]2026-09-24
FreeBSDdevel/p5-Clone-PP1.08 behind since 2026-09-15none known-[email protected]-
OpenBSDdevel/p5-Clone-PP1.09 newestno data-The OpenBSD ports mailing-list <[email protected]>2026-09-15
DragonFlydevel/p5-Clone-PP1.08 behind since 2026-09-15none known-[email protected]-
MidnightBSDdevel/p5-Clone-PP1.08 behind since 2026-09-15no data-[email protected]-
HardenedBSDdevel/p5-Clone-PP1.08 behind since 2026-09-15no data-[email protected]-
GhostBSDdevel/p5-Clone-PP1.08 behind since 2026-09-15no data-[email protected]-
OPNsensedevel/p5-Clone-PP1.08 behind since 2026-09-15no data-[email protected]-

Compare across BSDs

Version history 1

  1. 1.09 08bfbc2fb5

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-PP

From pkgsrc:

cd /usr/pkgsrc/devel/p5-Clone-PP && 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_641.08nb5
NetBSD 10.1 aarch641.08nb5
SmartOS / illumos x86_641.09
macOS 15 arm641.09

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
08bfbc2fb5 wiz p5-Clone-PP: update to 1.09.
1.09 2026-09-13 NEILB - Use `our` rather than `use vars`. - Clean up whitespace. - Fix tests to be warnings and strict compatible. - All from HAARG++
618415630a wiz *: recursive bump for perl5 5.44.0