0d7fbdc2cbe8d610b76943ec8f03b7434acf3eba
[gitmo/Moose-Autobox.git] / lib / Moose / Autobox / Undef.pm
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
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;
23   use autobox UNDEF => 'Moose::Autobox::Undef';
24
25   my $x;
26   $x->defined; # false
27
28 =head1 DESCRIPTION
29
30 This is a role to describes a undefined value. 
31
32 =head1 METHODS
33
34 =over 4
35
36 =item B<defined>
37
38 =back
39
40 =over 4
41
42 =item B<meta>
43
44 =back
45
46 =head1 BUGS
47
48 All complex software has bugs lurking in it, and this module is no 
49 exception. If you find a bug please either email me, or add the bug
50 to cpan-RT.
51
52 =head1 AUTHOR
53
54 Stevan Little E<lt>stevan@iinteractive.comE<gt>
55
56 =head1 COPYRIGHT AND LICENSE
57
58 Copyright 2006 by Infinity Interactive, Inc.
59
60 L<http://www.iinteractive.com>
61
62 This library is free software; you can redistribute it and/or modify
63 it under the same terms as Perl itself.
64
65 =cut