X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=lib%2FMoose%2FAutobox%2FDefined.pm;h=75ce024d1fe98bcd82114c2fe57e4da81848dbf0;hb=30e523b8f29b5b87276fdd9ce1275d098b41553e;hp=3fb282078cd8ea89f2329de6d5a51ca6047150e4;hpb=8937074ab98e81964dee9ccf9bbd939ebf3252a0;p=gitmo%2FMoose-Autobox.git diff --git a/lib/Moose/Autobox/Defined.pm b/lib/Moose/Autobox/Defined.pm index 3fb2820..75ce024 100644 --- a/lib/Moose/Autobox/Defined.pm +++ b/lib/Moose/Autobox/Defined.pm @@ -1,7 +1,7 @@ package Moose::Autobox::Defined; use Moose::Role 'with'; -our $VERSION = '0.01'; +our $VERSION = '0.11'; with 'Moose::Autobox::Item'; @@ -20,7 +20,12 @@ Moose::Autobox::Defined - the Defined role =head1 SYNOPOSIS use Moose::Autobox; - use autobox; + + my $x; + $x->defined; # false + + $x = 10; + $x->defined; # true =head1 DESCRIPTION @@ -30,12 +35,16 @@ This is a role to describes a defined value. =over 4 -=item B - =item B =back +=over 4 + +=item B + +=back + =head1 BUGS All complex software has bugs lurking in it, and this module is no @@ -48,11 +57,11 @@ Stevan Little Estevan@iinteractive.comE =head1 COPYRIGHT AND LICENSE -Copyright 2006 by Infinity Interactive, Inc. +Copyright 2006-2008 by Infinity Interactive, Inc. L This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself. -=cut \ No newline at end of file +=cut