cpan Type-Tiny 2.001_002

latest releases: 2.007_000, 2.006000, 2.005_002...
pre-release24 months ago

[ Test Suite ]

  • Test t/20-modules/Type-Tiny-Enum/exporter_lexical.t will now run on
    older versions of Perl, provided Lexical::Sub is installed.

[ Packaging ]

  • Depend on Exporter::Tiny 1.006000 which offers lexical export support
    for older versions of Perl, provided Lexical::Sub is installed.

[ Other ]

  • If Type::Params signatures receive multiple unrecognized named
    arguments, the error message now lists them using
    Type::Utils::english_list() instead of just joining them with commas.
    This means that the error message will include 'and' before the last
    unrecognized named argument. If Type::Tiny::AvoidCallbacks is set to
    true while the signature is compiled, the old behaviour will be
    retained.
  • Type::Params no longer attempts to figure out the maximum number of
    expected arguments to functions which take key-value pairs. This allows
    yourfunc(y=>1,y=>2) to behave more intuitively, with the function just
    seeing the second value for y, instead of it throwing an exception
    complaining about too many arguments.

Don't miss a new Type-Tiny release

NewReleases is sending notifications on new releases.