X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=lib%2FMooseX%2FAlwaysCoerce.pm;h=b86935dd284fcf25573f1d7e92a94c028ec655bc;hb=c3fabb0cc7d9ef9f8e29431b271675f9693ab3cb;hp=ff7b2c6f74fa368141cb863fe7d1a3219fdc86ab;hpb=6f5c1d8495d32c4afe3c7e20af784cb3afd25c62;p=gitmo%2FMooseX-AlwaysCoerce.git diff --git a/lib/MooseX/AlwaysCoerce.pm b/lib/MooseX/AlwaysCoerce.pm index ff7b2c6..b86935d 100644 --- a/lib/MooseX/AlwaysCoerce.pm +++ b/lib/MooseX/AlwaysCoerce.pm @@ -3,27 +3,21 @@ 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; Moose::Exporter->setup_import_methods; +=pod + =head1 NAME MooseX::AlwaysCoerce - Automatically enable coercions for Moose attributes -=head1 VERSION - -Version 0.16 - -=cut - -our $VERSION = '0.16'; - =head1 SYNOPSIS package MyClass; @@ -112,6 +106,13 @@ sub init_meta { goto $init_meta; } +1; +# vim:et sts=4 sw=4 tw=0: +__END__ + +=for Pod::Coverage + init_meta + =head1 AUTHOR Rafael Kitover, C<< >> @@ -165,6 +166,3 @@ This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself. =cut - -1; # End of MooseX::AlwaysCoerce -# vim:et sts=4 sw=4 tw=0: