So I had some expectations out of EC's effort, but doesn't look like the path being taken is one I necessarily want to follow. But it did give me some ideas on integrating POE and Moose.
So I spent some time looking through various POE::Session implementations: strengths, weaknesses, and raw ideas. I really like Philip Gwyn's ideas on rolling up the POE stuff (KERNEL, SESSION, CALLER, etc) into a per-event object (POE::Session::PlainCall), for example. I also took some time to look at Chris Prather's efforts, which are very notable in that he appears to be wrapping POE::Session wholesale. But it seems to me that perhaps if a POE::Session implementation were actually a Moose::Role, we could all get succinctness we want, plus the mutability we need to redefine events at will. Apply the Role to any object to get an instant session. That said, I've started writing a simple POE::Session implementation (POE::Session::Moose: http://github.com/nperez/psm/tree/master). -- Nicholas Perez XMPP/Email: n...@nickandperla.net http://search.cpan.org/~nperez/ http://github.com/nperez