Changes for version 0.025_02 - 2013-09-02

  • (Addition) Type::Params now provides a multisig() function, allowing you to define multiple function signatures, and attempt to validate @_ against them each in turn. Fixes #88291. Diab Jerius++ <https://rt.cpan.org/Ticket/Display.html?id=88291>
  • (Packaging) functionparameters.t now requires Moo or Moose and is skipped otherwise.

Changes for version 0.025_01 - 2013-09-02

  • (Bugfix) The Tuple structured type was treating arrays with missing required elements as if they were present but undef. Fixes #88277. Steven Lee++ <https://rt.cpan.org/Ticket/Display.html?id=88277>
  • (Change) Exporter::TypeTiny will now use method-style resolution when searching for a sub to export.
  • (Change) Make Exporter::TypeTiny support generators with less internals-hacking.
  • (Documentation) Document the internals of Exporter::TypeTiny.
  • (Packaging) Take advantage of dynamic_config to ask automated testers to test Type::Tiny with Moose present, but only if the Type::Tiny version number includes an underscore.
  • (Packaging) use Dist-Inkt

Documentation

an overview of Type::Tiny
adding coercions to type constraints
how to build a type library with Type::Tiny, Type::Library and Type::Utils
coerce and validate arguments to functions and methods
how to use Type::Tiny and Type::Library with Moo
how to use Type::Tiny and Type::Library with Moose
how to use Type::Tiny and Type::Library with Mouse
how to use Type::Tiny and Type::Library with other OO frameworks

Modules

shims to allow Type::Tiny to run on Perl 5.6.x
shims to allow Type::Tiny to run on Perl 5.8.x
utility to evaluate a string of Perl code in a clean environment
a small exporter used internally by Type::Library and friends
improved type constraint exceptions in Reply
useful functions for testing the efficacy of type constraints
a set of coercions to a particular target type constraint
a set of coercions to a union type constraint
exceptions for Type::Tiny and friends
exception when a value fails a type constraint
exception for Eval::TypeTiny
exception for Type::Params
tiny, yet Moo(se)-compatible type libraries
Params::Validate-like parameter validation using Type::Tiny type constraints and coercions
parse type constraint strings
a glorified hashref for looking up type constraints
tiny, yet Moo(se)-compatible type constraint
type constraints based on the "isa" method
type constraints based on the "can" method
string enum type constraints
intersection type constraints
type constraints based on the "DOES" method
union type constraints
utility functions to make defining and using type constraints a little easier
bundled set of built-in types for Type::Tiny
type constraints used internally by Type::Tiny