BSD Ports

devel/p5-B-COW 0.007 MidnightBSD

Additional B helpers to check COW status

System
MidnightBSD
Repository
mports
Maintainer
ports@MidnightBSD>org
License
artistic, gpl+
Categories
devel, perl5

Description

B::COW provides some naive additional B helpers to check the COW status of one SvPV.

A COWed SvPV is sharing its string (the PV) with other SvPVs. It's a (kind of) Read Only C string, that would be Copied On Write (COW). More than one SV can share the same PV, but when one PV need to alter it, it would perform a copy of it, decrease the COWREFCNT counter. One SV can then drop the COW flag when it's the only one holding a pointer to the PV. The COWREFCNT is stored at the end of the PV, after the the "\0". That value is limited to 255, when we reach 255, a new PV would be created,

In the other systems

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

SystemPortVersionVulnerabilitiesStatusMaintainerLast update
MidnightBSDdevel/p5-B-COW0.007 newestno data-ports@MidnightBSD>org-
FreeBSDdevel/p5-B-COW0.007 newestnone known-[email protected]-
OpenBSDdevel/p5-B-COW0.007 newestno data-Alexander Bluhm <[email protected]>-
NetBSDdevel/p5-B-COW0.007nb3 newestnone known-[email protected]2026-07-16
DragonFlydevel/p5-B-COW0.007 newestnone known-[email protected]-
HardenedBSDdevel/p5-B-COW0.007 newestno data-[email protected]-
GhostBSDdevel/p5-B-COW0.007 newestno data-[email protected]-

Compare across BSDs

Install

Binary package:

mport install p5-B-COW

From mports:

cd /usr/mports/devel/p5-B-COW && make install clean

To depend on this port in another port's Makefile:

RUN_DEPENDS=	p5-B-COW>0:devel/p5-B-COW

Dependencies

No port depends on this one.

Configuration

No options to configure.

USES
perl5
Service scripts
none

Files

pkg-plist 3
  • %%SITE_ARCH%%/B/COW.pm
  • %%SITE_ARCH%%/auto/B/COW/COW.so
  • %%PERL5_MAN3%%/B::COW.3.gz
distinfo 1
FileSizeSHA256
B-COW-0.007.tar.gz187881290daf227e8b09889a31cf182e29106f1cf9f1a4e9bf7752f9de92ed1158b44
Master sites 1
  • CPAN