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