NOTE: use Perl; is on undef hiatus. You can read content, but you can't post it. More info will be forthcoming forthcomingly.
All the Perl that's Practical to Extract and Report
Stories, comments, journals, and other submissions on use Perl; are Copyright 1998-2006, their respective owners.
A slight clarification ... (Score:1)
Also any tests that you happen to want to push back into MooseX::POE will be *greatly* appreciated. The c
Re: (Score:1)
Thanks for the clarification. I reckon that going through MX::POE code, I could also probably make my framework even better. Right now each event requires adding a line in order for the framework to track it. If I could get a list of the events, I could put in the added line myself perhaps.
I'm also checking into Sub::Caller or stack modules to try and remove the need for parameters to the added line.
Once I decide how to name my framework, I'll put it on Github and CPAN and people will (hopefully) be able to
Re: (Score:1)
The event are stored in the metaclass.
I've been going through the code myself recent, cleaning up an edge case bug that someone discovered, and modernizing the codebase a bit (the next version will depend on Moose 0.90+ but drops the MooseX::AttributeHelpers dependency).
Re: (Score:1)
That's awesome!
Do you know if there's any way to get the arguments a method you've hooking to is getting? For example:
Re: (Score:1)
Is this what you are asking for?
Re:A slight clarification ... (Score:1)
Actually it is!
This would really help me with the framework. I could automatically hook up to all events. Putting it in will make my code able to work automatically by adding only a single line of "with".
Thanks!
Reply to This
Parent
Re: (Score:1)
Sorry, I wasn't clear. That code works *now*. It should work in the CPAN version. Go forth and test away!