package Moose::Autobox::Ref;
use Moose::Role 'with';
-our $VERSION = '0.01';
+our $VERSION = '0.02';
with 'Moose::Autobox::Defined';
+sub dump {
+ my $self = shift;
+ require Data::Dumper;
+ return Data::Dumper::Dumper($self);
+}
+
+*perl = *dump;
+
1;
__END__
Moose::Autobox::Ref - the Ref role
-=head1 SYNOPOSIS
-
- use Moose::Autobox;
- use autobox;
-
=head1 DESCRIPTION
+This is a role to describes a reference value.
+
=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.
+
=back
=head1 BUGS
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