devel/p5-B-COW 0.007nb3 NetBSD
Some naive additional B helpers to check the COW status of one SvPV
- System
- NetBSD
- Repository
- pkgsrc
- Maintainer
- [email protected]
- Last update
- Commit
618415630a- License
- gnu-gpl-v2 OR artistic
- Categories
- devel, perl5
- Package size
- 8.8 KiB, 16.2 KiB installed
Description
B::COW provides some naive additional B helpers to check the COW status of one SvPV. COW or Copy On Write introduction
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.
| System | Port | Version | Vulnerabilities | Status | Maintainer | Last update |
|---|---|---|---|---|---|---|
| NetBSD | devel/p5-B-COW | 0.007nb3 newest | none known | - | [email protected] | 2026-07-16 |
| FreeBSD | devel/p5-B-COW | 0.007 newest | none known | - | [email protected] | - |
| OpenBSD | devel/p5-B-COW | 0.007 newest | no data | - | Alexander Bluhm <[email protected]> | - |
| DragonFly | devel/p5-B-COW | 0.007 newest | none known | - | [email protected] | - |
| MidnightBSD | devel/p5-B-COW | 0.007 newest | no data | - | ports@MidnightBSD>org | - |
| HardenedBSD | devel/p5-B-COW | 0.007 newest | no data | - | [email protected] | - |
| GhostBSD | devel/p5-B-COW | 0.007 newest | no data | - | [email protected] | - |
Install
Binary package:
pkgin install p5-B-COW
From pkgsrc:
cd /usr/pkgsrc/devel/p5-B-COW && 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.
| Repository | Version |
|---|---|
| NetBSD 10.1 x86_64 | 0.007nb3 |
| NetBSD 10.1 aarch64 | 0.007nb3 |
| SmartOS / illumos x86_64 | 0.007nb3 |
| macOS 15 arm64 | 0.007nb3 |
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.