![]() |
![]()
| ![]() |
![]()
NAMEPOEx::Types - Exported Types for use within POEx modules VERSIONversion 1.100910 DESCRIPTIONThis modules exports the needed subtypes, and coercions for POEx modules and is based on Sub::Exporter, so see that module for options on importing. TYPESKernelA subtype for POE::Kernel. WheelA subtype for POE::Wheel. FilterA subtype for POE::Filter. DriverA subtype for POE::Driver. SessionThis sets an isa constraint on POE::Session SessionIDSession IDs in POE are represented as positive integers and this Type constrains as such SessionAliasSession aliases are strings in and this is simply an alias for Str DoesSessionInstantiationThis sets a constraint for an object that does POEx::Role::SessionInstantiation SessionRefIdAliasInstantiationThis is a convience type that checks for the above types in one go. WheelIDWheelIDs are represented as positive integers COERCIONSSessionIDYou can coerce SessionAlias, Session, and DoesSessionInstantiation to a SessionID (via to_SessionID) SessionAliasYou can also coerce a SessionAlias from a SessionID, Session, or DoesSessionInstantiation (via to_SessionAlias) SessionAnd finally a Session can be coerced from a SessionID, or SessionAlias (via to_Session) AUTHORNicholas Perez <nperez@cpan.org> COPYRIGHT AND LICENSEThis 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.
|