1 package MooseX::UndefTolerant;
7 use Moose::Util::MetaRole;
9 use MooseX::UndefTolerant::Attribute;
11 our $VERSION = '0.01';
13 Moose::Exporter->setup_import_methods();
16 my (undef, %options) = @_;
18 Moose->init_meta(%options);
20 return Moose::Util::MetaRole::apply_metaclass_roles(
21 for_class => $options{for_class},
22 attribute_metaclass_roles => [ 'MooseX::UndefTolerant::Attribute' ]
32 MooseX::Attribute::UndefTolerant - The great new MooseX::Attribute::UndefTolerant!
36 use MooseX::Attribute::UndefTolerant;
41 Cory G Watson, C<< <gphat at cpan.org> >>
43 =head1 ACKNOWLEDGEMENTS
45 Hans Dieter Pearcey (confound)
51 Dylan Hardison (dylan)
53 Jay Shirley (jshirley)
57 =head1 COPYRIGHT & LICENSE
59 Copyright 2009 Cory G Watson.
61 This program is free software; you can redistribute it and/or modify it
62 under the terms of either: the GNU General Public License as published
63 by the Free Software Foundation; or the Artistic License.
65 See http://dev.perl.org/licenses/ for more information.