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.

  • Sources inherited from project openSUSE:13.1
  • Download package
  • osc -A https://api.opensuse.org checkout openSUSE:13.1:Update/perl-WeakRef && cd $_
  • Create Badge
Source Files
Filename Size Changed
WeakRef-0.01.tar.gz 0000003069 3 KB about 16 years
perl-WeakRef.changes 0000001462 1.43 KB about 10 years
perl-WeakRef.spec 0000002391 2.33 KB about 10 years
Comments 0
openSUSE Build Service is sponsored by