Subject: | warning from MooseX::Types |
I have Net-Akamai 0.12 installed along with MooseX::Types 0.20
WARNING: String found where Type expected (did you use a => instead of a
, ?) at [snip]/cpan/lib/perl5/Net/Akamai/RequestData/Types.pm line 26
It appears that since version 0.15 of MooseX::Types that if you "use
MooseX::Types" it will export it's own version of the Moose-type sugar
commands qw(type subtype maybe_type duck_type enum coerce from as) and if
you pass a type as a string (i.e. 'Object' instead of the Object) it
warns.
It doesn't appear that you're using MooseX::Types at all in
Net::Akamai::RequestData::Types so I would suggest removing it or
changing your types over to using MooseX::Types exported types like those
provided in MooseX::Types::Moose.