|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) unstable; urgency=low * New upstream release. * Switch to source format 3.0 (quilt). * debian/copyright: update years of copyright and formatting, point to -GPL-1. * Build dependencies: replace libtest-exception-perl with libtest-fatal-perl. * Add /me to Uploaders. * Bump debhelper compatibility level to 8. * Set Standards-Version to 3.9.2 (no 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»