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.
Authors:
Tuomas J. Lukka <lukka@iki.fi>
Package Version | Update ID | Released | Package Hub Version | Platforms | Subpackages |
---|---|---|---|---|---|
0.01-bp156.3.2 info | GA Release | 2023-12-07 | 15 SP6 |
|
|
0.01-bp155.2.10 info | GA Release | 2023-05-17 | 15 SP5 |
|
|
0.01-bp154.1.21 info | GA Release | 2022-05-09 | 15 SP4 |
|
|
0.01-bp153.1.14 info | GA Release | 2021-02-26 | 15 SP3 |
|
|
0.01-bp152.3.13 info | GA Release | 2020-04-16 | 15 SP2 |
|
|
0.01-bp151.3.1 info | GA Release | 2019-07-17 | 15 SP1 |
|
|
0.01-bp151.2.14 info | GA Release | 2019-05-18 | 15 SP1 |
|
|
0.01-bp150.2.4 info | GA Release | 2018-07-30 | 15 |
|
|