Add built local::lib
[catagits/Gitalist.git] / local-lib5 / lib / perl5 / Moose / Autobox / Item.pm
diff --git a/local-lib5/lib/perl5/Moose/Autobox/Item.pm b/local-lib5/lib/perl5/Moose/Autobox/Item.pm
new file mode 100644 (file)
index 0000000..57cfd8f
--- /dev/null
@@ -0,0 +1,77 @@
+package Moose::Autobox::Item;     
+use Moose::Role 'requires';
+
+our $VERSION = '0.10';
+
+requires 'defined';
+
+sub dump {
+    my $self = shift;
+    require Data::Dumper;
+    return Data::Dumper::Dumper($self);
+}
+
+*perl = \&dump;
+
+1;
+
+__END__
+
+=pod
+
+=head1 NAME 
+
+Moose::Autobox::Item - the Item role
+
+=head1 DESCRIPTION
+
+This is the root of our role hierarchy. 
+
+=head1 METHODS
+
+=over 4
+
+=item B<meta>
+
+=item B<dump>
+
+Calls Data::Dumper::Dumper.
+
+=item B<perl>
+
+Same as B<dump>. For symmetry with Perl6's .perl method.
+
+Like &print with newline.
+
+=item B<print2>
+
+=back
+
+=head1 REQUIRED METHODS
+
+=over 4
+
+=item B<defined>
+
+=back
+
+=head1 BUGS
+
+All complex software has bugs lurking in it, and this module is no 
+exception. If you find a bug please either email me, or add the bug
+to cpan-RT.
+
+=head1 AUTHOR
+
+Stevan Little E<lt>stevan@iinteractive.comE<gt>
+
+=head1 COPYRIGHT AND LICENSE
+
+Copyright 2006-2008 by Infinity Interactive, Inc.
+
+L<http://www.iinteractive.com>
+
+This library is free software; you can redistribute it and/or modify
+it under the same terms as Perl itself.
+
+=cut