|File Search||Catalog||Content Search|
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.
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»
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»
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»
Format-Specification: http://svn.debian.org/wsvn/dep/web/deps/dep5.mdwn?op=file&rev=135 Maintainer: more»