Subject: | bug or intentional omission in MooseX::POE::Meta::Instance? |
Date: | Thu, 19 Feb 2009 11:09:26 +0100 |
To: | bug-moosex-poe [...] rt.cpan.org |
From: | Frank Mayer <frank.mayer [...] knapp.com> |
Hello,
I like your Moose-Extension very much and think it simplifies using POE
very much.
I found, however, that I could not use the "predicate"- and
"clearer"-options with MooseX::POE as I could with plain Moose: the
attributes did not get cleared at all
After some searching, I think I found out why:
You seem to overwrite
is_slot_initialized
from Class::MOP... to use the $instance->{heap]{$slot_name} instead of
$instance->{$slot_name}, but you did not implement
deinitialize_slot
accordingly.
For starters, I have added a deinitialize_slot function to my installation
of MooseX::POE::Meta::Instance, and things seem to work as expected now.
Did you omit deinitialize_slot intentionally, and if so: what's the
motivation for this?
What other functions did you not implement?
Best Regards,
Frank Mayer