-
-
23 Jun 2022 16:00:41 UTC
- Development release
- Browse (raw)
- Changes
- Homepage
- How to Contribute
- Repository
- Issues
- Testers (105 / 0 / 0)
- Kwalitee
Bus factor: 2- 91.04% Coverage
- License: perl_5
- Perl: v5.6.1
- Activity
24 month- Tools
- Download (456.28KB)
- MetaCPAN Explorer
- Permissions
- Subscribe to distribution
- Permalinks
- This version
- Latest version
and 30 contributors-
Diab Jerius (DJERIUS)
-
Vyacheslav Matyukhin (MMCLERIC)
-
Peter Flanigan (PJFL)
- Pierre Masci
-
Mark Stosberg (MARKSTOS)
-
David Steinbrunner
-
Samuel Kaufman (SKAUFMAN)
-
Graham Knop (HAARG)
-
Peter Karman (KARMAN)
-
Alexander Hartmaier (ABRAXXA)
-
Dagfinn Ilmari Mannsåker (ILMARI)
-
Gianni Ceccarelli (DAKKAR)
-
Karen Etheridge (ETHER)
-
Thomas Sibley (TSIBLEY)
-
Peter Valdemar Mørch
-
Zoffix Znet
-
Denis Ibaev
-
Lucas Buchala (LSBUCHALA)
-
Alexandr Ciornii
-
Philippe Bruhat (BOOK)
-
Robert Rothenberg (RRWO)
- Nelo Onyiah
-
Jonas B Nielsen (JONASBN)
-
Benct Philip Jonsson
-
Hauke D (HAUKEX)
-
Meredith Howard (MHOWARD)
-
Andrew Ruder (AERUDER)
-
Sandor Patocs (SPATOCS)
- Windymelt
-
Lucas Tiago de Moraes (LUCAS)
- Dependencies
- Exporter::Tiny
- and possibly others
- Reverse dependencies
- CPAN Testers List
- Dependency graph
Changes for version 1.013_001 - 2022-06-23
- Documentation
- Various minor documentation improvements.
- Other
- Added: $Type::Tiny::SafePackage variable.
Changes for version 1.013_000 - 2022-06-09
- Documentation
- Update copyright dates to 2022.
- Various minor documentation improvements.
- Test Suite
- Eliminate some warnings and other noise from the test suite.
- Rename some directories in the test suite to better reflect their contents.
- Other
- Added: Error::TypeTiny now has a `throw_cb` method which acts like `throw` but takes an initial callback parameter. jsf116++
- Added: Type::Params `compile`, `compile_named`, and `compile_named_oo` functions now support an `on_die` callback. jsf116++
- Eliminate warnings while generating deep explanations for type constraint check fails under some circumstances. (Mostly affects StrMatch when Regexp::Util isn't installed.) James Wright++
Documentation
an overview of Type::Tinyalphabetical list of all type constraints bundled with Type::Tinyadvanced information on coercionscontributing to Type::Tiny development.how to install Type::Tinydefining your own type librariesType::Tiny in non-object-oriented codesqueeze the most out of your CPUadvanced information on Type::ParamsType::Tiny policiesuse of Type::Tiny with Class::Tinybasic use of Type::Tiny with Mooadvanced use of Type::Tiny with Mooalternative use of Type::Tiny with Moohow to use Type::Tiny with Moosehow to use Type::Tiny with Mouseusing Type::Tiny with Class::InsideOut, Params::Check, and Object::Accessor.Type::Tiny for test suitesModules
shims to allow Type::Tiny to run on Perl 5.6.xshims to allow Type::Tiny to run on Perl 5.8.xexceptions for Type::Tiny and friendsexception when a value fails a type constraintexception for Eval::TypeTinyexception for Type::Paramsutility to evaluate a string of Perl code in a clean environmentimproved type constraint exceptions in Replyuseful functions for testing the efficacy of type constraintsa set of coercions to a particular target type constrainta set of coercions borrowed from Moosea set of coercions to a union type constrainttiny, yet Moo(se)-compatible type librariesParams::Validate-like parameter validation using Type::Tiny type constraints and coercionsparse type constraint stringsa glorified hashref for looking up type constraintstiny, yet Moo(se)-compatible type constrainttype constraints based on the "isa" methodshared behavour for Type::Tiny::Class, etctype constraints based on the "can" methodstring enum type constraintsintersection type constraintstype constraints based on the "DOES" methodunion type constraintshalf-completed overloaded operationutility functions to make defining and using type constraints a little easierdrop-in replacement for MooseX::Types::Common::Numericdrop-in replacement for MooseX::Types::Common::Stringbundled set of built-in types for Type::Tinyinternals for the Types::Standard ArrayRef type constraintinternals for the Types::Standard CycleTuple type constraintinternals for the Types::Standard Dict type constraintinternals for the Types::Standard HashRef type constraintinternals for the Types::Standard Map type constraintinternals for the Types::Standard ScalarRef type constraintinternals for the Types::Standard StrMatch type constraintinternals for the Types::Standard Tied type constraintinternals for the Types::Standard Tuple type constrainttype constraints used internally by Type::TinyProvides
in lib/Type/Parser.pmin lib/Type/Parser.pmin lib/Type/Parser.pmExamples
- examples/benchmarking/benchmark-coercions.pl
- examples/benchmarking/benchmark-constraints.pl
- examples/benchmarking/benchmark-named-param-validation.pl
- examples/benchmarking/benchmark-param-validation.pl
- examples/benchmarking/versus-scalar-validation.pl
- examples/datetime-coercions.pl
- examples/jsoncapable.pl
- examples/nonempty.pl
- examples/page-numbers.pl
Module Install Instructions
To install Type::Tiny, copy and paste the appropriate command in to your terminal.
cpanm Type::Tiny
perl -MCPAN -e shell install Type::Tiny
For more information on module installation, please visit the detailed CPAN module installation guide.