Go to file
Troy Dawson 0f39d7e317 Bump release for October 2024 mass rebuild:
Resolves: RHEL-64018
2024-10-29 08:54:41 -07:00
.fmf Package tests and add gating.yaml 2024-06-27 08:56:24 +02:00
plans Package tests and add gating.yaml 2024-06-27 08:56:24 +02:00
tests Package tests and add gating.yaml 2024-06-27 08:56:24 +02:00
.gitignore Initial import (perl-B-COW-0.004-1) 2020-04-24 14:45:52 +01:00
gating.yaml Package tests and add gating.yaml 2024-06-27 08:56:24 +02:00
perl-B-COW.rpmlintrc Update to 0.005 2022-10-15 15:39:00 +01:00
perl-B-COW.spec Bump release for October 2024 mass rebuild: 2024-10-29 08:54:41 -07:00
README.md Update to 0.006 2022-10-18 10:30:44 +01:00
sources Update to 0.007 2022-10-21 10:45:30 +01:00

perl-B-COW

B::COW provides some naïve additional B helpers to check the Copy On Write (COW) status of one SvPV (a Perl string variable).

A COWed SvPV is sharing its string (the PV) with other SvPVs. It's a (kind of) Read Only C string, which would be Copied On Write (COW). More than one SV can share the same PV, but when one PV needs to alter it, it would perform a copy of it, decreasing 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 null byte terminating the string. That value is limited to 255: when we reach 255, a new PV would be created.