X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=lib%2FMooseX%2FAlwaysCoerce.pm;h=14d576747231e02b2cd1498b6df436f06a3c9161;hb=f99502c4fc9ce6b6f4474797c805bd09c0696f48;hp=8cb3831f7b6a7bc828a91ba2cb11762e919ea595;hpb=418d177d4f460b579609d31d2ae1246bf7093c38;p=gitmo%2FMooseX-AlwaysCoerce.git diff --git a/lib/MooseX/AlwaysCoerce.pm b/lib/MooseX/AlwaysCoerce.pm index 8cb3831..14d5767 100644 --- a/lib/MooseX/AlwaysCoerce.pm +++ b/lib/MooseX/AlwaysCoerce.pm @@ -3,9 +3,9 @@ package MooseX::AlwaysCoerce; use strict; use warnings; -use namespace::autoclean; +use namespace::autoclean 0.12; use Moose (); -use MooseX::ClassAttribute (); +use MooseX::ClassAttribute 0.24 (); use Moose::Exporter; use Moose::Util::MetaRole; use Carp; @@ -71,9 +71,6 @@ Use C<< coerce => 0 >> to disable a coercion explicitly. use Moose::Role; use Moose::Util::TypeConstraints; - # MooseX::ClassAttribute is not always present in the consuming class - sub add_class_attribute { } - around add_class_attribute => sub { my $next = shift; my $self = shift;