- Moose::Autobox::Ref perl() as alias to dump()
[gitmo/Moose-Autobox.git] / lib / Moose / Autobox / Ref.pm
index f4e397d..843d081 100644 (file)
@@ -11,6 +11,8 @@ sub dump {
     return Data::Dumper::Dumper($self);
 }
 
+*perl = *dump;
+
 1;
 
 __END__
@@ -33,6 +35,12 @@ This is a role to describes a reference value.
 
 =item B<dump>
 
+Calls Data::Dumper::Dumper.
+
+=item B<perl>
+
+Same as B<dump>. For symmetry with Perl6's .perl method.
+
 =back
 
 =head1 BUGS
@@ -54,4 +62,4 @@ 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