First commit.
[gitmo/MooseX-UndefTolerant.git] / lib / MooseX / UndefTolerant.pm
CommitLineData
5447ee45 1package MooseX::UndefTolerant;
2use strict;
3use warnings;
4
5use Moose qw();
6use Moose::Exporter;
7use Moose::Util::MetaRole;
8
9use MooseX::UndefTolerant::Attribute;
10
11our $VERSION = '0.01';
12
13Moose::Exporter->setup_import_methods();
14
15sub init_meta {
16 my (undef, %options) = @_;
17
18 Moose->init_meta(%options);
19
20 return Moose::Util::MetaRole::apply_metaclass_roles(
21 for_class => $options{for_class},
22 attribute_metaclass_roles => [ 'MooseX::UndefTolerant::Attribute' ]
23 );
24}
25
261;
27
28__END__
29
30=head1 NAME
31
32MooseX::Attribute::UndefTolerant - The great new MooseX::Attribute::UndefTolerant!
33
34=head1 SYNOPSIS
35
36 use MooseX::Attribute::UndefTolerant;
37
38
39=head1 AUTHOR
40
41Cory G Watson, C<< <gphat at cpan.org> >>
42
43=head1 ACKNOWLEDGEMENTS
44
45Hans Dieter Pearcey (confound)
46
47Jesse Luehrs (doy)
48
49Tomas Doran (t0m)
50
51Dylan Hardison (dylan)
52
53Jay Shirley (jshirley)
54
55Mike Eldridge (diz)
56
57=head1 COPYRIGHT & LICENSE
58
59Copyright 2009 Cory G Watson.
60
61This program is free software; you can redistribute it and/or modify it
62under the terms of either: the GNU General Public License as published
63by the Free Software Foundation; or the Artistic License.
64
65See http://dev.perl.org/licenses/ for more information.
66
67
68=cut