X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=lib%2FMooseX%2FUndefTolerant%2FAttribute.pm;fp=lib%2FMooseX%2FUndefTolerant%2FAttribute.pm;h=15d35ddd2c73858047106662191be2ab79d6c3d6;hb=b2c5b43cb2decfa49933f4254050716bc7ff91e0;hp=97ad7ea2eb87a0787643ff05221e061bc33e1c6b;hpb=7e9c113df7e76c2009e9c48f9d4d3ca6c18bc690;p=gitmo%2FMooseX-UndefTolerant.git diff --git a/lib/MooseX/UndefTolerant/Attribute.pm b/lib/MooseX/UndefTolerant/Attribute.pm index 97ad7ea..15d35dd 100644 --- a/lib/MooseX/UndefTolerant/Attribute.pm +++ b/lib/MooseX/UndefTolerant/Attribute.pm @@ -17,9 +17,9 @@ around('initialize_instance_slot', sub { 1; -=head1 NAME +# ABSTRACT: Make your attribute(s) tolerant to undef intitialization -MooseX::UndefTolerant::Attribute - Make your attribute(s) tolerant to undef intitialization +__END__ =head1 SYNOPSIS @@ -45,21 +45,7 @@ MooseX::UndefTolerant::Attribute - Make your attribute(s) tolerant to undef inti Applying this trait to your attribute makes it's initialization tolerant of of undef. If you specify the value of undef to any of the attributes they -will not be initialized (or will be set to the default, if applicable). +will not be initialized (or will be set to the default, if applicable). Effectively behaving as if you had not provided a value at all. -=head1 AUTHOR - -Cory G Watson, C<< >> - -=head1 COPYRIGHT & LICENSE - -Copyright 2009 Cory G Watson. - -This program is free software; you can redistribute it and/or modify it -under the terms of either: the GNU General Public License as published -by the Free Software Foundation; or the Artistic License. - -See http://dev.perl.org/licenses/ for more information. - =cut