31 Jul 2021 20:34:49 UTC
- Distribution: Type-Tiny
- Source (raw)
- Browse (raw)
- How to Contribute
- Repository (git clone)
- Testers (2075 / 3 / 1)
- KwaliteeBus factor: 1
- 86.67% Coverage
- License: perl_5
- Perl: v5.6.1
- Activity24 month
- Download (453.29KB)
- MetaCPAN Explorer
- Subscribe to distribution
- This version
- Latest version++ed by:53 non-PAUSE usersTOBYINK Toby Inksterand 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)
- Lucas Tiago de Moraes (LUCAS)
- NEXT STEPS
- COPYRIGHT AND LICENCE
- DISCLAIMER OF WARRANTIES
Type::Tiny::Manual::Policies - Type::Tiny policies
Type::Tiny 1.000000 is considered stable. Any changes to the API that are big enough to require changes to the test suite will be preceded by a six month notice period, with the following exceptions:
Changes to maintain compatibility with future versions of Perl itself.
Where a change fixes a contradiction between the implementation and documentation of Type::Tiny.
Where a feature is explicitly documented as being "experimental" or "unstable".
Improvements to the text of error messages.
The following list is currently non-exhaustive.
The following type checks result may vary based on your version of Perl and whether Type::Tiny::XS is installed. Their outcome is currently considered undefined, and may change in future versions.
Using Object and similar type checks on unblessed regular expression references, the outcome is undefined.
On all current versions of Perl, false (
!!0) stringifies to the empty string (but using Devel::Peek you can tell the difference between this value and a normal empty string), so Int and subtypes of Int do not consider it to be an integer. If Perl's behaviour ever changes, you might not be able to rely on this outcome. True (
!!1) stringifies as "1", so is considered an integer.
A glob (not a globref but an actual glob) currently passes the StringLike type constraint but not the Str type constraint.
my_methodsattribute and the functionality it provides is experimental.
The parameterizable coercion API is subject to change.
The interaction of deep coercions and mutable coercions currently results in ill-defined behaviour. This could change at any time.
These modules are considered part of Type::Tiny's internals, and not covered by the stability policy: Devel::TypeTiny::Perl56Compat, Devel::TypeTiny::Perl58Compat, Type::Coercion::FromMoose, Type::Tiny::_HalfOp, Types::Standard::ArrayRef, Types::Standard::CycleTuple, Types::Standard::Dict, Types::Standard::HashRef, Types::Standard::Map, Types::Standard::ScalarRef, Types::Standard::StrMatch, Types::Standard::Tied, and Types::Standard::Tuple.
Reply::Plugin::TypeTiny is not covered by the stability policy.
As of 1.000000, this distribution follows a versioning scheme similar to Moo, which is based on a semver-like three component version number, but with the last two components each represented by three decimal digits in the fractional part of the version number. That is, version 1.003002 of the software represents "1.3.2".
Additionally, releases where the second component is an odd number will be considered unstable/trial releases. (These will also include an underscore in the version number as per the usual CPAN convention.)
Here's your next step:
Contributing to Type::Tiny development.
Toby Inkster <firstname.lastname@example.org>.
This software is copyright (c) 2013-2014, 2017-2021 by Toby Inkster.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.
THIS PACKAGE IS PROVIDED "AS IS" AND WITHOUT ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE.