Skip to content
Sections
>> Trisquel >> パッケージ >> etiona >> perl >> libtest-refcount-perl
etiona  ] [  nabia  ] [  aramo  ]
[ ソース: libtest-refcount-perl  ]

パッケージ: libtest-refcount-perl (0.08-3)

Perl module to assert reference counts

Test::Refcount asserts that an object's reference count is as expected. Since Perl's automatic memory management algorithm uses reference counting to keep track of which 'things' (ie, scalars, objects, etc.) are in use, problems like circular references (where a variable points to itself) can prevent Perl from properly freeing them.

If the assertion fails; that is, if the actual reference count is different to what was expected, a trace of references to the object is printed, using the Devel::FindRef module. It is probably most useful as part of a comprehensive module author test suite.

その他の libtest-refcount-perl 関連パッケージ

  • 依存
  • 推奨
  • 提案
  • dep: perl
    Larry Wall's Practical Extraction and Report Language

libtest-refcount-perl のダウンロード

すべての利用可能アーキテクチャ向けのダウンロード
アーキテクチャ パッケージサイズ インストールサイズ ファイル
all 10.5 kB27 kB [ファイル一覧]