Skip to content
Sections
>> Trisquel >> 套件 >> etiona >> perl >> libtest-memory-cycle-perl
etiona  ] [  nabia  ] [  aramo  ]
[ 原始碼: libtest-memory-cycle-perl  ]

套件: libtest-memory-cycle-perl (1.06-1)

Perl module that verifies code hasn't left circular references

Test::Memory::Cycle checks for memory leaks and circular memory references. It's a thin Test::More-compatible wrapper around Lincoln Stein's Devel::Cycle module.

Perl's garbage collection has one big problem: Circular references can't get cleaned up. A circular reference can be as simple as two reference that refer to each other. Test::Memory::Cycle is built on top of Devel::Cycle to give you an easy way to check for these circular references. You can also use memory_cycle_exists() to make sure that you have a cycle where you expect to have one.

其他與 libtest-memory-cycle-perl 有關的套件

  • 依賴
  • 推薦
  • 建議
  • dep: libdevel-cycle-perl
    Perl module to detect memory cycles in Perl objects
  • dep: libpadwalker-perl
    module to inspect and manipulate lexical variables
  • dep: perl
    Larry Wall's Practical Extraction and Report Language

下載 libtest-memory-cycle-perl

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