Try updating Moose, I think this might have been fixed recently.
Perl's destruction order is essentially random, which can complicate
thing a lot. If you can provide a stack trace we might be able to
provide some more insight.
- Stevan
On Feb 20, 2009, at 12:47 PM, Matthew Persico wrote:
---------- Forwarded message ----------
From: "Thomas, Terry L" <tltho...@statestreet.com>
Date: Fri, 20 Feb 2009 12:42:12 -0500
Subject: Moose and the DEMOLISH sequence
To: matthew.pers...@gmail.com
I am working with Moose v0.65 and I am getting messages in my logs
that
look like:
DESTROY created new reference to dead object Foo::Bar during global
destruction.
In broad terms, what am I looking for? Badly defined DEMOLISH
sequences?
Missing or present explicit destroys?
Any help would be appreciated. Sorry about the terseness - limited
connectivity at this time.
Thanks
--
Sent from my mobile device
Matthew O. Persico