| 1 |
Source: libobject-destroyer-perl |
| 2 |
Maintainer: Debian Perl Group <[email protected]> |
| 3 |
Uploaders: Ansgar Burchardt <[email protected]> |
| 4 |
Section: perl |
| 5 |
Testsuite: autopkgtest-pkg-perl |
| 6 |
Priority: optional |
| 7 |
Build-Depends: debhelper-compat (= 13) |
| 8 |
Build-Depends-Indep: perl |
| 9 |
Standards-Version: 4.6.1 |
| 10 |
Vcs-Browser: https://salsa.debian.org/perl-team/modules/packages/libobject-destroyer-perl |
| 11 |
Vcs-Git: https://salsa.debian.org/perl-team/modules/packages/libobject-destroyer-perl.git |
| 12 |
Homepage: https://metacpan.org/release/Object-Destroyer |
| 13 |
Rules-Requires-Root: no |
| 14 |
|
| 15 |
Package: libobject-destroyer-perl |
| 16 |
Architecture: all |
| 17 |
Depends: ${misc:Depends}, |
| 18 |
${perl:Depends} |
| 19 |
Multi-Arch: foreign |
| 20 |
Description: module to make objects with circular references DESTROY normally |
| 21 |
Object::Destroyer allows for the creation of "Destroy" handles. The |
| 22 |
handle is "attached" to a circular relationship, but is not a part of |
| 23 |
it. When the destroy handle falls out of scope, it will be cleaned up |
| 24 |
correctly, and while being cleaned up, it will also force the data |
| 25 |
structure it is attached to be destroyed as well. Object::Destroyer |
| 26 |
can call a specified release method on an object (or method DESTROY by |
| 27 |
default). Alternatively, it can execute an arbitrary user code passed to |
| 28 |
constructor as a code reference. |