| 1 |
Source: libb-cow-perl |
| 2 |
Maintainer: Debian Perl Group <[email protected]> |
| 3 |
Uploaders: gregor herrmann <[email protected]> |
| 4 |
Section: perl |
| 5 |
Testsuite: autopkgtest-pkg-perl |
| 6 |
Priority: optional |
| 7 |
Build-Depends: debhelper-compat (= 13), |
| 8 |
libtest-simple-perl <!nocheck>, |
| 9 |
perl-xs-dev, |
| 10 |
perl:native |
| 11 |
Standards-Version: 4.6.1 |
| 12 |
Vcs-Browser: https://salsa.debian.org/perl-team/modules/packages/libb-cow-perl |
| 13 |
Vcs-Git: https://salsa.debian.org/perl-team/modules/packages/libb-cow-perl.git |
| 14 |
Homepage: https://metacpan.org/release/B-COW |
| 15 |
Rules-Requires-Root: no |
| 16 |
|
| 17 |
Package: libb-cow-perl |
| 18 |
Architecture: any |
| 19 |
Depends: ${misc:Depends}, |
| 20 |
${perl:Depends}, |
| 21 |
${shlibs:Depends} |
| 22 |
Multi-Arch: same |
| 23 |
Description: additional B helpers to check COW status |
| 24 |
B::COW provides some naive additional B helpers to check the COW status of |
| 25 |
one SvPV. |
| 26 |
. |
| 27 |
A COWed SvPV is sharing its string (the PV) with other SvPVs. It's a (kind |
| 28 |
of) Read Only C string, that would be Copied On Write (COW). |
| 29 |
. |
| 30 |
More than one SV can share the same PV, but when one PV need to alter it, it |
| 31 |
would perform a copy of it, decrease the COWREFCNT counter. |
| 32 |
. |
| 33 |
One SV can then drop the COW flag when it's the only one holding a pointer to |
| 34 |
the PV. |
| 35 |
. |
| 36 |
The COWREFCNT is stored at the end of the PV, after the "\0". |
| 37 |
. |
| 38 |
That value is limited to 255, after that a new PV would be created, |