+
+ - Use inline_as instead of the deprecated optimize_as
+
0.05
- Merged the two 0.04 releases
SIGN => 1,
PL_FILES => { },
PREREQ_PM => {
- 'Moose' => '0.41', # class_type
+ 'Moose' => '2.0100', # inline_as
'DateTime' => '0.4302',
'DateTime::Locale' => '0.4001',
'DateTime::TimeZone' => '0.95',
subtype( Now,
as Str,
where { $_ eq 'now' },
- Moose::Util::TypeConstraints::optimize_as {
- no warnings 'uninitialized';
- !ref($_[0]) and $_[0] eq 'now';
+ Moose::Util::TypeConstraints::inline_as {
+ 'no warnings "uninitialized";'.
+ '!ref(' . $_[1] . ') and '. $_[1] .' eq "now"';
},
);