|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.07-1) unstable; urgency=low [ Jonathan Yu ] * New upstream release * Standards-Version 3.8.3 (no changes) * Refresh copyright information * Update to new DEP5 copyright format * Add Test-Pod to B-D [ Nathan Handler ] * debian/watch: Update to ignore development releases. [ Salvatore Bonaccorso ] * debian/control: Changed: Replace versioned (build-)d more»
Revision history for Devel-Refcount 0.07 CHANGES: * Don't use base 'Exporter' * Use XSLoader instead of DynaLoader 0.06 CHANGES: * Added SEE ALSO to Test::Refcount * Various small updates to keep CPANTS happy 0.05 CHANGES: * use warnings * Added (C) declaration to main file 0.04 BUGFIXES: * Declare ExtUtils::CBuilder an more»
Format-Specification: http://svn.debian.org/wsvn/dep/web/deps/dep5.mdwn?op=file&rev=59 Maintainer: P more»