line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
package Moose::Autobox::Item; |
2
|
1
|
|
|
1
|
|
1780
|
use Moose::Role 'requires'; |
|
0
|
|
|
|
|
|
|
|
0
|
|
|
|
|
|
|
3
|
|
|
|
|
|
|
|
4
|
|
|
|
|
|
|
our $VERSION = '0.15'; |
5
|
|
|
|
|
|
|
|
6
|
|
|
|
|
|
|
requires 'defined'; |
7
|
|
|
|
|
|
|
|
8
|
|
|
|
|
|
|
sub dump { |
9
|
|
|
|
|
|
|
my $self = shift; |
10
|
|
|
|
|
|
|
require Data::Dumper; |
11
|
|
|
|
|
|
|
return Data::Dumper::Dumper($self); |
12
|
|
|
|
|
|
|
} |
13
|
|
|
|
|
|
|
|
14
|
|
|
|
|
|
|
*perl = \&dump; |
15
|
|
|
|
|
|
|
|
16
|
|
|
|
|
|
|
1; |
17
|
|
|
|
|
|
|
|
18
|
|
|
|
|
|
|
__END__ |
19
|
|
|
|
|
|
|
|
20
|
|
|
|
|
|
|
=pod |
21
|
|
|
|
|
|
|
|
22
|
|
|
|
|
|
|
=head1 NAME |
23
|
|
|
|
|
|
|
|
24
|
|
|
|
|
|
|
Moose::Autobox::Item - the Item role |
25
|
|
|
|
|
|
|
|
26
|
|
|
|
|
|
|
=head1 DESCRIPTION |
27
|
|
|
|
|
|
|
|
28
|
|
|
|
|
|
|
This is the root of our role hierarchy. |
29
|
|
|
|
|
|
|
|
30
|
|
|
|
|
|
|
=head1 METHODS |
31
|
|
|
|
|
|
|
|
32
|
|
|
|
|
|
|
=over 4 |
33
|
|
|
|
|
|
|
|
34
|
|
|
|
|
|
|
=item B<meta> |
35
|
|
|
|
|
|
|
|
36
|
|
|
|
|
|
|
=item B<dump> |
37
|
|
|
|
|
|
|
|
38
|
|
|
|
|
|
|
Calls Data::Dumper::Dumper. |
39
|
|
|
|
|
|
|
|
40
|
|
|
|
|
|
|
=item B<perl> |
41
|
|
|
|
|
|
|
|
42
|
|
|
|
|
|
|
Same as B<dump>. For symmetry with Perl6's .perl method. |
43
|
|
|
|
|
|
|
|
44
|
|
|
|
|
|
|
Like &print with newline. |
45
|
|
|
|
|
|
|
|
46
|
|
|
|
|
|
|
=item B<print2> |
47
|
|
|
|
|
|
|
|
48
|
|
|
|
|
|
|
=back |
49
|
|
|
|
|
|
|
|
50
|
|
|
|
|
|
|
=head1 REQUIRED METHODS |
51
|
|
|
|
|
|
|
|
52
|
|
|
|
|
|
|
=over 4 |
53
|
|
|
|
|
|
|
|
54
|
|
|
|
|
|
|
=item B<defined> |
55
|
|
|
|
|
|
|
|
56
|
|
|
|
|
|
|
=back |
57
|
|
|
|
|
|
|
|
58
|
|
|
|
|
|
|
=head1 BUGS |
59
|
|
|
|
|
|
|
|
60
|
|
|
|
|
|
|
All complex software has bugs lurking in it, and this module is no |
61
|
|
|
|
|
|
|
exception. If you find a bug please either email me, or add the bug |
62
|
|
|
|
|
|
|
to cpan-RT. |
63
|
|
|
|
|
|
|
|
64
|
|
|
|
|
|
|
=head1 AUTHOR |
65
|
|
|
|
|
|
|
|
66
|
|
|
|
|
|
|
Stevan Little E<lt>stevan@iinteractive.comE<gt> |
67
|
|
|
|
|
|
|
|
68
|
|
|
|
|
|
|
=head1 COPYRIGHT AND LICENSE |
69
|
|
|
|
|
|
|
|
70
|
|
|
|
|
|
|
Copyright 2006-2008 by Infinity Interactive, Inc. |
71
|
|
|
|
|
|
|
|
72
|
|
|
|
|
|
|
L<http://www.iinteractive.com> |
73
|
|
|
|
|
|
|
|
74
|
|
|
|
|
|
|
This library is free software; you can redistribute it and/or modify |
75
|
|
|
|
|
|
|
it under the same terms as Perl itself. |
76
|
|
|
|
|
|
|
|
77
|
|
|
|
|
|
|
=cut |