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