Skip Menu |

This queue is for tickets about the Scalar-Validation CPAN distribution.

Report information
The Basics
Id: 97381
Status: open
Priority: 0/
Queue: Scalar-Validation

People
Owner: Nobody in particular
Requestors: perl [...] toby.ink
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



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
Hello Toby, thanks for info. Perldoc.perl.org lists "state" first time in version 5.12. And I didn't take a look to CPAN testers for Type::Params", sorry. I will correct it in next upload of Scalar::Validation. Ralf