The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

Changes for version 2.005_001 - 2024-09-07

  • Documentation
    • Fixes for various typos. Yoshikazu Sawa++ <https://github.com/tobyink/p5-type-tiny/pull/155>
    • Improve documentation for the initialization of the `coercion` attribute for `Type::Tiny`. Diab Jerius++
  • Other
    • Updated: Smartmatch discontinued beginning perl-5.41.3; Type::Tiny will no longer attempt to support smartmatch if the Perl version is too high. James E Keenan++ <https://github.com/tobyink/p5-type-tiny/pull/161>

Documentation

an overview of Type::Tiny
alphabetical list of all type constraints bundled with Type::Tiny
advanced information on coercions
contributing to Type::Tiny development.
how to install Type::Tiny
defining your own type libraries
Type::Tiny in non-object-oriented code
squeeze the most out of your CPU
advanced information on Type::Params
Type::Tiny policies
use of Type::Tiny with Class::Tiny
how to use Type::Tiny with Mite
basic use of Type::Tiny with Moo
advanced use of Type::Tiny with Moo
alternative use of Type::Tiny with Moo
how to use Type::Tiny with Moose
how to use Type::Tiny with Mouse
using Type::Tiny with Class::InsideOut, Params::Check, and Object::Accessor.
Type::Tiny for test suites

Modules

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
alternative API for Eval::TypeTiny
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
sub signature validation using Type::Tiny type constraints and coercions
parse type constraint strings
a glorified hashref for looking up type constraints
tie a variable to a type constraint
tiny, yet Moo(se)-compatible type constraint
bitfield/bitflag type constraints
type constraints based on the "isa" method
shared behaviour for Type::Tiny::Class, etc
type constraints based on the "can" method
string enum type constraints
intersection type constraints
type constraints based on the "DOES" method
union type constraints
half-defined type constraint
half-completed overloaded operation
utility functions to make defining and using type constraints a little easier
the one stop shop
drop-in replacement for MooseX::Types::Common::Numeric
drop-in replacement for MooseX::Types::Common::String
bundled set of built-in types for Type::Tiny
type constraints used internally by Type::Tiny

Provides

in lib/Devel/TypeTiny/Perl58Compat.pm
in lib/Type/Params/Alternatives.pm
in lib/Type/Params/Parameter.pm
in lib/Type/Params/Signature.pm
in lib/Type/Parser.pm
in lib/Type/Parser.pm
in lib/Type/Parser.pm
in lib/Type/Tie.pm
in lib/Type/Tie.pm
in lib/Type/Tie.pm
in lib/Type/Tie.pm
in lib/Types/Standard/ArrayRef.pm
in lib/Types/Standard/CycleTuple.pm
in lib/Types/Standard/Dict.pm
in lib/Types/Standard/HashRef.pm
in lib/Types/Standard/Map.pm
in lib/Types/Standard/ScalarRef.pm
in lib/Types/Standard/StrMatch.pm
in lib/Types/Standard/Tied.pm
in lib/Types/Standard/Tuple.pm