Skip to content
Sections
>> Trisquel >> 套件 >> nabia >> perl >> libb-cow-perl
nabia  ] [  aramo  ]
[ 原始碼: libb-cow-perl  ]

套件: libb-cow-perl (0.002-1)

additional B helpers to check COW status

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,

其他與 libb-cow-perl 有關的套件

  • 依賴
  • 推薦
  • 建議
  • dep: perl (>= 5.30.0-9)
    Larry Wall's Practical Extraction and Report Language
  • dep: perlapi-5.30.0
    本虛擬套件由這些套件提供: perl-base

下載 libb-cow-perl

下載可用於所有硬體架構的
硬體架構 套件大小 安裝後大小 檔案
amd64 8.2 kB42 kB [文件列表]
armhf 7.9 kB34 kB [文件列表]