libb-cow-perl

additional B helpers to check COW status

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 "\0".

That value is limited to 255, after that a new PV would be created,

Upload more screenshots

Please help extend the collection of screenshots. Just make a screenshot and upload it here. You don't need to register or anything.

Upload a screenshot

Hint: upload an image here from your clipboard with Ctrl-V


Homepage

https://metacpan.org/release/B-COW


Install this software package

If the package is available for the distribution you are currently using on your computer then install the software by clicking on…

Install libb-cow-perl