skeleton
[gitmo/MooseX-AlwaysCoerce.git] / lib / MooseX / AlwaysCoerce.pm
CommitLineData
7a603ffa 1package MooseX::AlwaysCoerce;
2
3use strict;
4use warnings;
5
6=head1 NAME
7
8MooseX::AlwaysCoerce - Automatically enable coercions for Moose attributes
9
10=head1 VERSION
11
12Version 0.01
13
14=cut
15
16our $VERSION = '0.01';
17
18=head1 SYNOPSIS
19
20 package MyClass;
21
22 use Moose;
23 use MooseX::AlwaysCoerce;
24 use MyTypeLib 'SomeType';
25
26 has foo => (is => 'rw', isa => SomeType); # will be coerced
27
28=head1 AUTHOR
29
30Rafael Kitover, C<< <rkitover at cpan.org> >>
31
32=head1 BUGS
33
34Please report any bugs or feature requests to C<bug-moosex-alwayscoerce at rt.cpan.org>, or through
35the web interface at L<http://rt.cpan.org/NoAuth/ReportBug.html?Queue=MooseX-AlwaysCoerce>. I will be notified, and then you'll
36automatically be notified of progress on your bug as I make changes.
37
38=head1 SUPPORT
39
40You can find more information at:
41
42=over 4
43
44=item * RT: CPAN's request tracker
45
46L<http://rt.cpan.org/NoAuth/Bugs.html?Dist=MooseX-AlwaysCoerce>
47
48=item * AnnoCPAN: Annotated CPAN documentation
49
50L<http://annocpan.org/dist/MooseX-AlwaysCoerce>
51
52=item * CPAN Ratings
53
54L<http://cpanratings.perl.org/d/MooseX-AlwaysCoerce>
55
56=item * Search CPAN
57
58L<http://search.cpan.org/dist/MooseX-AlwaysCoerce/>
59
60=back
61
62=head1 ACKNOWLEDGEMENTS
63
64My own stupidity, for inspiring me to write this module.
65
66=head1 COPYRIGHT & LICENSE
67
68Copyright (c) 2009 Rafael Kitover
69
70This program is free software; you can redistribute it and/or modify it
71under the same terms as Perl itself.
72
73=cut
74
751; # End of MooseX::AlwaysCoerce