Commit | Line | Data |
---|---|---|
5f654d8e | 1 | package Moose::Autobox::Ref; |
2 | use Moose::Role 'with'; | |
3 | ||
f6e003cc | 4 | our $VERSION = '0.02'; |
5f654d8e | 5 | |
6 | with 'Moose::Autobox::Defined'; | |
7 | ||
7fc99864 | 8 | sub dump { |
9 | my $self = shift; | |
10 | require Data::Dumper; | |
11 | return Data::Dumper::Dumper($self); | |
12 | } | |
13 | ||
9b2ca73c | 14 | *perl = *dump; |
15 | ||
31d40d73 | 16 | 1; |
6cf5bcf2 | 17 | |
31d40d73 | 18 | __END__ |
6cf5bcf2 | 19 | |
31d40d73 | 20 | =pod |
21 | ||
22 | =head1 NAME | |
23 | ||
24 | Moose::Autobox::Ref - the Ref role | |
25 | ||
31d40d73 | 26 | =head1 DESCRIPTION |
27 | ||
8937074a | 28 | This is a role to describes a reference value. |
29 | ||
260cc81f | 30 | =head1 METHODS |
31 | ||
32 | =over 4 | |
33 | ||
34 | =item B<meta> | |
35 | ||
7fc99864 | 36 | =item B<dump> |
37 | ||
9b2ca73c | 38 | Calls Data::Dumper::Dumper. |
39 | ||
40 | =item B<perl> | |
41 | ||
42 | Same as B<dump>. For symmetry with Perl6's .perl method. | |
43 | ||
260cc81f | 44 | =back |
45 | ||
31d40d73 | 46 | =head1 BUGS |
47 | ||
48 | All complex software has bugs lurking in it, and this module is no | |
49 | exception. If you find a bug please either email me, or add the bug | |
50 | to cpan-RT. | |
51 | ||
52 | =head1 AUTHOR | |
53 | ||
54 | Stevan Little E<lt>stevan@iinteractive.comE<gt> | |
55 | ||
56 | =head1 COPYRIGHT AND LICENSE | |
57 | ||
58 | Copyright 2006 by Infinity Interactive, Inc. | |
59 | ||
60 | L<http://www.iinteractive.com> | |
61 | ||
62 | This library is free software; you can redistribute it and/or modify | |
63 | it under the same terms as Perl itself. | |
64 | ||
9b2ca73c | 65 | =cut |