POEx::Types - Exported Types for use within POEx modules
This modules exports the needed subtypes, and coercions for POEx modules and is
based on Sub::Exporter, so see that module for options on importing.
A subtype for POE::Kernel.
A subtype for POE::Wheel.
A subtype for POE::Filter.
A subtype for POE::Driver.
This sets an isa constraint on POE::Session
Session IDs in POE are represented as positive integers and this Type constrains
as such
Session aliases are strings in and this is simply an alias for Str
This sets a constraint for an object that does POEx::Role::SessionInstantiation
This is a convience type that checks for the above types in one go.
WheelIDs are represented as positive integers
You can coerce SessionAlias, Session, and DoesSessionInstantiation to a
SessionID (via to_SessionID)
You can also coerce a SessionAlias from a SessionID, Session, or
DoesSessionInstantiation (via to_SessionAlias)
And finally a Session can be coerced from a SessionID, or SessionAlias (via
to_Session)
Nicholas Perez <nperez@cpan.org>
This software is copyright (c) 2010 by Nicholas Perez.
This is free software; you can redistribute it and/or modify it
under the same terms as the Perl 5 programming language system itself.