X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=lib%2FMoose%2FAutobox%2FDefined.pm;h=ac8fa950d12285b9f07396f4c4fb7eecf8a5f960;hb=caac33a39ccc8163e692eea728ead215455e026f;hp=ecb06cc2b47fe52989e0d1f369764e7f577e1f4d;hpb=31d40d7362f4154746428525561af751208b0805;p=gitmo%2FMoose-Autobox.git diff --git a/lib/Moose/Autobox/Defined.pm b/lib/Moose/Autobox/Defined.pm index ecb06cc..ac8fa95 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.09'; with 'Moose::Autobox::Item'; @@ -20,10 +20,31 @@ 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 +This is a role to describes a defined value. + +=head1 METHODS + +=over 4 + +=item B + +=back + +=over 4 + +=item B + +=back + =head1 BUGS All complex software has bugs lurking in it, and this module is no @@ -36,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