|File Search||Catalog||Content Search|
Internally, Perl maintains a count of the number of 'things' referring to each variable, as a means of providing automatic memory management. Every time a reference is made to a scalar value, for example, the reference count is incremented; every time that reference is lost (eg. when a lexical variable goes out of scope) then the reference count is decremented.
Devel::Refcount(3User Contributed Perl DocumentaDevel::Refcount(3pm) NAME "Devel::Refcount" - obtain the REFCNT value of a referent SYNOPSIS use Devel::Refcount qw( refcount ); my $anon = ; print "Anon ARRAY $anon has " . refcount($anon) . " reference\n"; my $otherref = $anon; print "Anon ARRAY $anon now has " . refcount($anon) . " reference more»
libdevel-refcount-perl (0.09-1+b2) sid; urgency=low * Binary-only non-maintainer upload for i386; no source changes. * Rebuild against perl 5.14 -- i386 Build Daemon <email@example.com> Tue, 15 Nov 2011 01:10:35 +0000 libdevel-refcount-perl (0.09-1) unstable; urgency=low * New upstream release. * Switch to source format 3.0 (quilt). * debian/copyright: update year more»
Revision history for Devel-Refcount 0.09 CHANGES: * Use Test::Fatal instead of Test::Exception * Provide fallback PP implementation using B * Don't skip Regexp tests dependent on Perl version since all stable Perl releases are fine now (0.08 skipped because I messed up the alpha version numbering of 0.08_001. Oops). 0.07 CHANGES: * Don't use more»
Format-Specification: http://svn.debian.org/wsvn/dep/web/deps/dep5.mdwn?op=file&rev=135 Maintainer: more»