NAME
POE::Session::Attributes -- POE::Session wrapper using attributes to mark state handlers
VERSION
Version 0.02
SYNOPSIS
use POE;
use base 'POE::Session::Attributes';
my $foo = POE::Session::Attributes->create(
heap => {...},
args => [....],
options => {....},
);
...
sub _start : state {
...
}
DESCRIPTION
This package wraps POE::Session and permits use of a 'state' attributes to designate state handlers.
FUNCTIONS
create
This is the wrapper around POE::Session. It takes 'args', 'heap' an 'options' arguments and passes them on to POE::Session. It will silently ignore 'inline_states', 'package_states', and 'object_states'. The session it creates gets it's state handlers from the package where it was called. Or from a 'package=>' option. It'll throw a lethal exception if package=>arg has no state attribute subroutines.
state
The attribute handler
AUTHOR
Chris Fedde, <cfedde at cpan.org>
BUGS
Please report any bugs or feature requests to bug-poe-session-attributes at rt.cpan.org
, or through the web interface at http://rt.cpan.org/NoAuth/ReportBug.html?Queue=POE-Session-Attributes. I will be notified, and then you'll automatically be notified of progress on your bug as I make changes.
SUPPORT
You can find documentation for this module with the perldoc command.
perldoc POE::Session::Attributes
You can also look for information at:
AnnoCPAN: Annotated CPAN documentation
CPAN Ratings
RT: CPAN's request tracker
http://rt.cpan.org/NoAuth/Bugs.html?Dist=POE-Session-Attributes
Search CPAN
ACKNOWLEDGEMENTS
COPYRIGHT & LICENSE
Copyright 2006 Chris Fedde, all rights reserved.
This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.