API for weak references to be created in Perl

Edit Package perl-WeakRef

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.

Refresh
Refresh
Source Files
Filename Size Changed
WeakRef-0.01.tar.bz2 0000003140 3.07 KB
perl-WeakRef.changes 0000001176 1.15 KB
perl-WeakRef.spec 0000002424 2.37 KB
Revision 17 (latest revision is 25)
autobuild's avatar autobuild committed (revision 17)
11.4 source split
Comments 0
openSUSE Build Service is sponsored by