           SPELL=weakref
         VERSION=0.01
          SOURCE=WeakRef-$VERSION.tar.gz
SOURCE_DIRECTORY=$BUILD_DIRECTORY/WeakRef-$VERSION
   SOURCE_URL[0]=$PERL_CPAN_URL/authors/id/LUKKA/$SOURCE
     SOURCE_HASH=sha512:5167cc624a41ec0a92219be0d2788ad404a61c192f980df67afe3e6259004e7f97e1c0e4d756582b7e1ec6f82346fb85be4806ecd093825442946841b8922599
         LICENSE=ART
        WEB_SITE=http://search.cpan.org/~lukka/WeakRef/
         ENTERED=20020405
        KEYWORDS="perl"
           SHORT="an API to the Perl weak references"
cat << EOF
A patch to Perl 5.005_55 by the author implements a core
API for weak references. This module is a Perl-level
interface to that API, allowing weak references to be
created in Perl.

A weak reference is just like an ordinary Perl reference
except that it isn't included in the reference count of the
thing referred to. This means that once all references to a
particular piece of data are weak, the piece of data is
freed and all the weak references are set to undef. This is
particularly useful for implementing circular data
structures without memory leaks or caches of objects.
EOF
