Commit Graph

1 Commits

Author SHA1 Message Date
jasper
90c592ccfa import p5-WeakRef 0.01
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.

ok simon@
2008-09-23 20:53:11 +00:00