foo
[gitmo/Moose-Autobox.git] / lib / Moose / Autobox / Defined.pm
CommitLineData
5f654d8e 1package Moose::Autobox::Defined;
2use Moose::Role 'with';
3
4our $VERSION = '0.01';
5
6with 'Moose::Autobox::Item';
7
8sub defined { 1 }
9
31d40d73 101;
11
12__END__
13
14=pod
15
16=head1 NAME
17
18Moose::Autobox::Defined - the Defined role
19
20=head1 SYNOPOSIS
21
22 use Moose::Autobox;
23 use autobox;
5272f13f 24
25 my $x;
26 $x->defined; # false
27
28 $x = 10;
29 $x->defined; # true
31d40d73 30
31=head1 DESCRIPTION
32
8937074a 33This is a role to describes a defined value.
34
260cc81f 35=head1 METHODS
36
37=over 4
38
260cc81f 39=item B<defined>
40
41=back
42
5272f13f 43=over 4
44
45=item B<meta>
46
47=back
48
31d40d73 49=head1 BUGS
50
51All complex software has bugs lurking in it, and this module is no
52exception. If you find a bug please either email me, or add the bug
53to cpan-RT.
54
55=head1 AUTHOR
56
57Stevan Little E<lt>stevan@iinteractive.comE<gt>
58
59=head1 COPYRIGHT AND LICENSE
60
61Copyright 2006 by Infinity Interactive, Inc.
62
63L<http://www.iinteractive.com>
64
65This library is free software; you can redistribute it and/or modify
66it under the same terms as Perl itself.
67
68=cut