• Home
  • History
  • Annotate
Name Date Size #Lines LOC

..03-May-2022-

ChangesH A D23-Feb-1999120 63

MANIFESTH A D23-Feb-199966 87

Makefile.PLH A D23-Feb-1999375 118

READMEH A D23-Feb-1999581 129

WeakRef.pmH A D23-Feb-19992.2 KiB9212

WeakRef.xsH A D23-Feb-1999332 2923

test.plH A D23-Feb-19992.6 KiB197113

README

1A patch to Perl 5.005_55 by the author implements a core API for weak
2references. This module is a Perl-level interface to that API, allowing
3weak references to be created in Perl.
4
5A weak reference is just like an ordinary Perl reference except that
6it isn't included in the reference count of the thing referred to.
7This means that once all references to a particular piece of data are
8weak, the piece of data is freed and all the weak references are set
9to undef. This is particularly useful for implementing circular
10data structures without memory leaks or caches of objects.
11
12