The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

Changes for version 0.032 - 2013-11-05

  • Bug Fixes
    • Eliminate a warning under Perl 5.6.x.
  • Documentation
    • Updated NEWS file.

Changes for version 0.031_05 - 2013-11-04

  • Documentation
    • Fix minor typo. David Steinbrunner++
  • Other
    • Allow Dict to take a slurpy parameter - a la Dict[foo => Int, slurpy HashRef[Num]]. Matt S Trout++

Changes for version 0.031_04 - 2013-11-03

  • Bug Fixes
    • Type::Parser 0.031_02 introduced a bug under Perl 5.6.x where we relied on the existence (or not) of a hash item being affected by `local`; this was implemented in Perl 5.8.0. Work around this problem by checking definedness instead.

Changes for version 0.031_03 - 2013-11-03

  • Added: Deep coercions for Maybe[`a]. Fixes RT#89936. Brendan Byrd++ <https://rt.cpan.org/Ticket/Display.html?id=89936>

Changes for version 0.031_02 - 2013-11-03

  • Type::Parser now differentiates between Tuple[] and Tuple too.
  • Type::Parser only treats a comma as an operator within a parameterization now, and is thus now able to parse types from the head of a string which is a comma-separated list of types.

Changes for version 0.031_01 - 2013-10-28

  • Bug Fixes
    • Differentiate Tuple[] vs Tuple, and Dict[] vs Dict. Fixes RT#89696. Benct Philip Jonsson++ <https://rt.cpan.org/Ticket/Display.html?id=89696>
  • Documentation
    • Improved documentation for Types::TypeTiny.
  • Test Suite
    • Adjustments to cope with newer Moose is-class-loaded heuristics.
    • Check Moose exception objects with isa rather than regexp matching.

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
exceptions for Type::Tiny and friends
exception when a value fails a type constraint
exception for Eval::TypeTiny
exception for Type::Params
utility to evaluate a string of Perl code in a clean environment
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 borrowed from Moose
a set of coercions to a union type constraint
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

Provides

in lib/Exporter/TypeTiny.pm