0.06 06 November 2008
- Added a 'helper' type constraint called Optional. See docs for more.
- - added lots of tests to cover the API better, coverage an fixes for
+ - added lots of tests to cover the API better, coverage and fixes for
the ->parameterize method in particular have been clarified.
- changes so that the type contraints are more forgiving when null
values appear in method calls.
- - used make_immutable which should speed up the constraints.
- - removed some unneccesary calls to use Moose when I wasn't using Moose.
+ - used ->make_immutable which should speed up the constraints.
+ - removed some unnecessary calls to use Moose when I wasn't using Moose.
- lots of little code cleanup work and more internal documentation.
- This version requires a newer Moose than previous versions. The
Makefile.PL has been updated to reflect this.
license 'perl';
## Module dependencies
-requires 'Moose' => '0.62';
+requires 'Moose' => '0.63';
requires 'MooseX::Types' => '0.07';
## Testing dependencies
enum Gender,
qw/male female transgendered/;
- subtype TupleOptional1,
+ subtype TupleOptional1() =>
as Tuple[Int, MoreThanFive, Optional[Str|Object]];
subtype TupleOptional2,