Dave Rolsky > Type-0.03-TRIAL > Type::Constraint::Role::Interface

Download:
Type-0.03-TRIAL.tar.gz

Dependencies

Annotate this POD

Module Version: 0.03   Source   Latest Release: Type-0.05-TRIAL

NAME ^

Type::Constraint::Role::Interface - The interface all type constraints should provide

VERSION ^

version 0.03

DESCRIPTION ^

This role defines the interface that all type constraints must provide, and provides most (or all) of the implementation. The Type::Constraint::Simple class simply consumes this role and provides no additional code. Other constraint classes add features or override some of this role's functionality.

API ^

See the Type::Constraint::Simple documentation for details. See the internals of various constraint classes to see how this role can be overridden or expanded upon.

ROLES ^

This role does the Type::Role::Inlinable and MooseX::Clone roles.

AUTHOR ^

Dave Rolsky <autarch@urth.org>

COPYRIGHT AND LICENSE ^

This software is Copyright (c) 2012 by Dave Rolsky.

This is free software, licensed under:

  The Artistic License 2.0 (GPL Compatible)
syntax highlighting: