X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=lib%2FMoose%2FAutobox%2FItem.pm;h=03645897020cb9eb7433be823acd3d6796d57c3b;hb=b3cb70385763ff1067a42fa7e470177bef3485e8;hp=f7316b217e6ad843f0ee35bc0473f66426cc9755;hpb=5f654d8ec893246d215ae8a3b0fa9b467d50b3b9;p=gitmo%2FMoose-Autobox.git
diff --git a/lib/Moose/Autobox/Item.pm b/lib/Moose/Autobox/Item.pm
index f7316b2..0364589 100644
--- a/lib/Moose/Autobox/Item.pm
+++ b/lib/Moose/Autobox/Item.pm
@@ -1,6 +1,77 @@
package Moose::Autobox::Item;
-use Moose::Role 'with';
+use Moose::Role 'requires';
-our $VERSION = '0.01';
+our $VERSION = '0.02';
-1;
\ No newline at end of file
+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
+
+=item B
+
+Calls Data::Dumper::Dumper.
+
+=item B
+
+Same as B. For symmetry with Perl6's .perl method.
+
+Like &print with newline.
+
+=item B
+
+=back
+
+=head1 REQUIRED METHODS
+
+=over 4
+
+=item B
+
+=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 Estevan@iinteractive.comE
+
+=head1 COPYRIGHT AND LICENSE
+
+Copyright 2006-2007 by Infinity Interactive, Inc.
+
+L
+
+This library is free software; you can redistribute it and/or modify
+it under the same terms as Perl itself.
+
+=cut