Filewatcher File Search File Search
Catalog
Content Search
» » » » »

libtest-refcount-perl

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.

Homepage:
Package version:0.07-1
Architecture:all
Distribution:Debian
Filename:libtest-refcount-perl_0.07-1_all.deb

/usr/share/man/man3/Test::Refcount.3pm.gz

Test::Refcount(3pUser Contributed Perl DocumentatTest::Refcount(3pm)



NAME
       "Test::Refcount" - assert reference counts on objects

SYNOPSIS
        use Test::More tests => 2;
        use Test::Refcount;

        use Some::Class;

        my $object = Some::Class->new();

        is_oneref( $object, '$object has a refcount of 1' );

        my $otherref = $object;

        is_refcount( $obj
more»

/usr/share/doc/libtest-refcount-perl/changelog.Debian.gz

libtest-refcount-perl (0.07-1) unstable; urgency=low

  * New upstream release.
  * Switch to source format 3.0 (quilt).
  * Bump debhelper compatibility level to 8.
  * Add /me to Uploaders.
  * debian/copyright: update years of copyright, formatting, and pointers to
    common-licenses.
  * Set Standards-Version to 3.9.2 (no further changes).
  * Update (build) dependencies.

 -- gregor herrmann
more»

/usr/share/doc/libtest-refcount-perl/changelog.gz

Revision history for Test-Refcount

0.07    CHANGES:
         * Use pureperl core B module rather than Devel::Refcount, for
           avoiding XS in the deptree of a Test module

0.06    CHANGES:
         * Optionally use Devel::FindRef but don't depend on it being
           installed. Removes the need to install it on smoke testers and have
           it fail.

0.05    CHANGES:
         * Added
more»

/usr/share/doc/libtest-refcount-perl/copyright

Format-Specification: http://svn.debian.org/wsvn/dep/web/deps/dep5.mdwn?op=file&rev=135
Maintainer: 
more»

Browse inside libtest-refcount-perl_0.07-1_all.deb

         [DIR]DEBIAN/ (2)  65535+ mirrors
         [DIR]usr/ (1)  65535+ mirrors

Download libtest-refcount-perl_0.07-1_all.deb

Results 1 - 1 of 1
Help - FTP Sites List - Software Dir.
Search over 15 billion files
© 1997-2016 FileWatcher.com