---
name: "POEx::Types"
section: "3pm"
platform: "linux"
package: "libpoex-types-perl"
version: "1.100910-1"
release: "Debian 6.0 (Squeeze)"
platforms: ["linux"]
url: "https://new.carta.tech/POEx::Types"
---

# POEx::Types(3pm)

Exported Types for use within POEx modules

## NAME

POEx::Types - Exported Types for use within POEx modules

## VERSION

version 1.100910

## DESCRIPTION

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.

## TYPES

### Kernel

A subtype for POE::Kernel.

### Wheel

A subtype for POE::Wheel.

### Filter

A subtype for POE::Filter.

### Driver

A subtype for POE::Driver.

### Session

This sets an isa constraint on POE::Session

### SessionID

Session IDs in POE are represented as positive integers and this Type  constrains as such

### SessionAlias

Session aliases are strings in and this is simply an alias for Str

### DoesSessionInstantiation

This sets a constraint for an object that does POEx::Role::SessionInstantiation

### SessionRefIdAliasInstantiation

This is a convience type that checks for the above types in one go.

### WheelID

WheelIDs are represented as positive integers

## COERCIONS

### SessionID

You can coerce SessionAlias, Session, and DoesSessionInstantiation to a  SessionID (via to\_SessionID)

### SessionAlias

You can also coerce a SessionAlias from a SessionID, Session, or DoesSessionInstantiation (via to\_SessionAlias)

### Session

And finally a Session can be coerced from a SessionID, or SessionAlias (via to\_Session)

## AUTHOR

```
  Nicholas Perez <nperez@cpan.org>
```

## COPYRIGHT AND LICENSE

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.
