Subject: | Corrections to documentation: "Differences to Type::Params" |
The `state` feature was introduced in Perl 5.10.0 (well, technically in 5.9.4 but that was just a development release), not Perl 5.12.
Type::Params doesn't rely on the `state` feature anyway. The example in the SYNOPSIS section makes use of `state`, but further down in the DESCRIPTION section the same example is shown re-written to use `my`.
With the exception of a few minor features (e.g. overloading of the ~~ operator), the Type::Tiny distribution supports Perl 5.6.1 and above. Test results for the latest development release:
https://travis-ci.org/tobyink/p5-type-tiny/builds/30449588