package Moose::Autobox::Item;
use Moose::Role 'requires';
-our $VERSION = '0.01';
+our $VERSION = '0.09';
requires 'defined';
+sub dump {
+ my $self = shift;
+ require Data::Dumper;
+ return Data::Dumper::Dumper($self);
+}
+
+*perl = \&dump;
+
1;
__END__
Moose::Autobox::Item - the Item role
-=head1 SYNOPOSIS
+=head1 DESCRIPTION
- use Moose::Autobox;
- use autobox;
+This is the root of our role hierarchy.
-=head1 DESCRIPTION
+=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
=head1 COPYRIGHT AND LICENSE
-Copyright 2006 by Infinity Interactive, Inc.
+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
\ No newline at end of file
+=cut