Skip Menu |

This queue is for tickets about the Net-Akamai CPAN distribution.

Report information
The Basics
Id: 50416
Status: resolved
Priority: 0/
Queue: Net-Akamai

People
Owner: Nobody in particular
Requestors: bpphillips+bitcard [...] gmail.com
Cc:
AdminCc:

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



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.
fixed in 0.13 just uploaded to cpan