[prev in list] [next in list] [prev in thread] [next in thread]
List: apache-modperl
Subject: Re: Wondering about MP1 clean up
From: Perrin Harkins <perrin () elem ! com>
Date: 2005-08-24 19:46:12
Message-ID: 1124912772.5161.1113.camel () localhost ! localdomain
[Download RAW message or body]
On Wed, 2005-08-24 at 09:45 -0500, Boysenberry Payne wrote:
> So it would seem this is a circular reference right?
> How can I get the info I need in each of these without getting caught
> by this?
Some techniques are described here:
http://www.perl.com/pub/a/2002/08/07/proxyobject.html
> I've been using O'reilly books in particular the books in The Perl CD
> Bookshelf v3.0.
> They mentioned an "experimental" WeakRef module for weakening
> references
> to prevent the circular logic thing. But I usually try and have my
> modules be the
> only "experimental" parts of my apps if possible. I just found 13.13.
> Coping with Circular Data Structures
> in the Perl Cookbook, maybe that has my solution.
Scalar::Util::weaken is probably what you want. Be aware of the age of
the books you're using.
- Perrin
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic