X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=lib%2FMooseX%2FAlwaysCoerce.pm;h=5ea5559a2bb20f757b0cbec86d98c832f50052bb;hb=bb4a98dc91f85fd0f14f85fdcb7c620aecbd33de;hp=14d576747231e02b2cd1498b6df436f06a3c9161;hpb=f99502c4fc9ce6b6f4474797c805bd09c0696f48;p=gitmo%2FMooseX-AlwaysCoerce.git diff --git a/lib/MooseX/AlwaysCoerce.pm b/lib/MooseX/AlwaysCoerce.pm index 14d5767..5ea5559 100644 --- a/lib/MooseX/AlwaysCoerce.pm +++ b/lib/MooseX/AlwaysCoerce.pm @@ -1,4 +1,5 @@ package MooseX::AlwaysCoerce; +# ABSTRACT: Automatically enable coercions for Moose attributes use strict; use warnings; @@ -12,17 +13,9 @@ use Carp; Moose::Exporter->setup_import_methods; -=head1 NAME +=pod -MooseX::AlwaysCoerce - Automatically enable coercions for Moose attributes - -=head1 VERSION - -Version 0.16 - -=cut - -our $VERSION = '0.16'; +=for stopwords coercions =head1 SYNOPSIS @@ -39,7 +32,7 @@ our $VERSION = '0.16'; =head1 DESCRIPTION -Have you ever spent an hour or more trying to figure out "WTF, why did my +Have you ever spent an hour or more trying to figure out "Hey, why did my coercion not run?" only to find out that you forgot C<< coerce => 1 >> ? Just load this module in your L class and C<< coerce => 1 >> will be @@ -112,14 +105,12 @@ sub init_meta { goto $init_meta; } -=head1 AUTHOR - -Rafael Kitover, C<< >> - -=head1 CONTRIBUTORS +1; +# vim:et sts=4 sw=4 tw=0: +__END__ -Schwern: Michael G. Schwern -Ether: Karen Etheridge +=for Pod::Coverage + init_meta =head1 BUGS @@ -137,6 +128,8 @@ You can find more information at: L +=for stopwords AnnoCPAN + =item * AnnoCPAN: Annotated CPAN documentation L @@ -155,16 +148,8 @@ L My own stupidity, for inspiring me to write this module. -Dave Rolsky, for telling me how to do it the L way. - -=head1 COPYRIGHT & LICENSE - -Copyright (c) 2009-2010 Rafael Kitover +=for stopwords Rolsky -This program is free software; you can redistribute it and/or modify it -under the same terms as Perl itself. +Dave Rolsky, for telling me how to do it the L way. =cut - -1; # End of MooseX::AlwaysCoerce -# vim:et sts=4 sw=4 tw=0: