Hottest Free Downloads - DownloadPipe.com Over 197,000 downloads! Bookmark Now!
DownloadPipe.com - New Downloads Every Minute
 SEARCH:
FAQFAQ    SearchSearch      ProfileProfile    Private MessagesPrivate Messages   Log inLog in

Bug#506248: ITP: libobject-destroyer-perl -- make objects ..

 
   Linux (Home) -> Perl RSS
Next:  Introduction  
Author Message
Ansgar Burchardt

External


Since: Feb 26, 2008
Posts: 26



(Msg. 1) Posted: Wed Nov 19, 2008 9:40 pm
Post subject: Bug#506248: ITP: libobject-destroyer-perl -- make objects with circular references DESTROY normally
Archived from groups: linux>debian>bugs>dist, others (more info?)

Package: wnpp
Severity: wishlist
Owner: Ansgar Burchardt <ansgar DeleteThis @43-1.org>

* Package name : libobject-destroyer-perl
Version : 2.00
Upstream Author : Adam Kennedy <adamk DeleteThis @cpan.org>
* URL : http://search.cpan.org/dist/Object-Destroyer/
* License : GPL-1+ | Artistic (like Perl)
Programming Lang: Perl
Description : make objects with circular references DESTROY normally

One of the biggest problem with working with large, nested object
trees is implementing a way for a child node to see its parent. The
easiest way to do this is to add a reference to the child back to its
parent.
.
This results in a "circular" reference, where A refers to B refers to
A. Unfortunately, the garbage collector perl uses during runtime is
not capable of knowing whether or not something ELSE is referring to
these circular references.
.
In practical terms, this means that object trees in lexically scoped
variable ( e.g. my $Object = Tree->new ) will not be cleaned up when
they fall out of scope, like normal variables. This results in a
memory leak for the life of the process, which is a bad thing when
using mod_perl or other processes that live for a long time.
.
Object::Destroyer allows for the creation of "Destroy" handles. The
handle is "attached" to the circular relationship, but is not a part
of it. When the destroy handle falls out of scope, it will be cleaned
up correctly, and while being cleaned up, it will also force the data
structure it is attached to to be destroyed as well. Object::Destroyer
can call a specified release method on an object (or method DESTROY by
default). Alternatively, it can execute an arbitrary user code passed
to constructor as a code reference.

(description taken from the module documentation)

The package is required by the new upstream release of
libparse-mediawikidump-perl.

Ansgar

--
PGP: 1024D/595FAD19 739E 2D09 0969 BEA9 9797 B055 DDB0 2FF7 595F AD19



--
To UNSUBSCRIBE, email to debian-bugs-dist-REQUEST DeleteThis @lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster DeleteThis @lists.debian.org
Back to top
Login to vote
Display posts from previous:   
Related Topics:
Today I played with dh-make-perl... - I managed to remove its reliance on hand-written information regarding its core module list - and BTW added a run-time switch to specify which packages should be considered as base (currently, they are perl, perl-base and perl-modules - Now, I might be..

Bug#495196: ITP: libperl-minimumversion-perl -- find a min.. - Package: wnpp Severity: wishlist Owner: Vincent Danjean <vdanjean@debian.org> * Package name : libperl-minimumversion-perl Version : 0.15 Upstream Author : Adam Kennedy <adamk@cpan.org> * URL :..

Bug#493595: RFP: libtest-dependencies-perl -- This modules.. - Package: wnpp Severity: wishlist * Package name : libtest-dependencies-perl Version : 0.11 Upstream Author : Jesse Vincent <jesse@bestpractical.com>, Alex Vandiver <alexmv@bestpractical.com>, Zev Benjamin <zev@cpan.org> ...

ITP: libgtk2-ex-printdialog-perl - a pure-perl alternative.. - Hi Jeffrey! > I would like to join the debian-perl group, starting with this bit of packaging. Over and above the standard Debian packaging guidelines. Is there anything I should be aware of? This is an interesting and highly capable group of people...

Bug#438569: libpadwalker-perl: please package version 1.5 .. - Package: libpadwalker-perl Version: 1.0-1 Severity: wishlist Hello, I'm packaging libdevel-repl-perl and its dependencies, one of them being liblexical-persistence-perl. All the packages are handled in the Debian Perl Group's repo. According to its..
       Linux (Home) -> Perl All times are: Pacific Time (US & Canada) (change)
Page 1 of 1

 
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
Categories:
 Windows Forums
 Game Forums
  Linux Forums
 Mac Forums
 PDA Forums
 Mobile Forums
  Top  |  Store  |  RSS Feeds RSS  |  Data Feeds  |  Advertise  |  Submit  |  Bookmark  |  Newsletter  |  Contact