Skip to content
Sections
>> Trisquel >> Packages >> aramo >> perl >> libtest-memory-cycle-perl
etiona  ] [  nabia  ] [  aramo  ]
[ Source: libtest-memory-cycle-perl  ]

Package: 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.

Other Packages Related to libtest-memory-cycle-perl

  • depends
  • recommends
  • suggests
  • 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

Download libtest-memory-cycle-perl

Download for all available architectures
Architecture Package Size Installed Size Files
all 10.1 kB34 kB [list of files]