
POEx::Role::SessionInstantiation::Meta::POEState - A read-only object that provides POE context

version 0.092800

The sender of the current event can be access from here. Semantically the same as $_[+SENDER].
The state fired. This should match the current method name (unless of course within the _default event handler, then it will be the event name that was invoked but did not exist in your object instance.
This is actually the POE::Kernel singleton provided as a little sugar instead of requiring use of $poe_kernel, etc. To make sure you are currently within a POE context, check this attribute for definedness.
These attributes provide tracing information from within POE. From is actually not used in POE::Session as far as I can tell, but it is available just in case.

Clones the current POEState object and returns it

Nicholas Perez <nperez@cpan.org>

This software is Copyright (c) 2009 by Nicholas Perez.
This is free software, licensed under:
The GNU General Public License, Version 3, June 2007