POE::Declare::Meta::Message - A named message that is emitted to the parent
# Declare the message (in the child) declare ShutdownComplete => 'Message'; # Emit the message (in the child) $self->send_message('ShutdownComplete', 'param'); # Register for the message (in the parent) my $child = Foo::Child->new( ShutdownComplete => $self->lookback('child_completed'), );
Each POE::Declare object contains a series of declared messages.
Message registration is done (primarily) during object creation, and the parameter checking for each message parameter is checked in a defined way.
Bugs should be always be reported via the CPAN bug tracker at
http://rt.cpan.org/NoAuth/ReportBug.html?Queue=POE-Declare
For other issues, or commercial enhancement or support, contact the author.
Adam Kennedy <adamk@cpan.org>
POE, POE::Declare
Copyright 2006 - 2012 Adam Kennedy.
This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
The full text of the license can be found in the LICENSE file included with this module.
To install POE::Declare, copy and paste the appropriate command in to your terminal.
cpanm
cpanm POE::Declare
CPAN shell
perl -MCPAN -e shell install POE::Declare
For more information on module installation, please visit the detailed CPAN module installation guide.