| line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
|
1
|
|
|
|
|
|
|
package Acme::Mitey::Cards::Card; |
|
2
|
|
|
|
|
|
|
|
|
3
|
|
|
|
|
|
|
our $VERSION = '0.014'; |
|
4
|
|
|
|
|
|
|
our $AUTHORITY = 'cpan:TOBYINK'; |
|
5
|
|
|
|
|
|
|
|
|
6
|
8
|
|
|
8
|
|
112804
|
use Acme::Mitey::Cards::Mite qw( -all ); |
|
|
8
|
|
|
|
|
15
|
|
|
|
8
|
|
|
|
|
53
|
|
|
7
|
8
|
|
|
8
|
|
3269
|
use Acme::Mitey::Cards::Types qw( :types ); |
|
|
8
|
|
|
|
|
21
|
|
|
|
8
|
|
|
|
|
3709
|
|
|
8
|
|
|
|
|
|
|
|
|
9
|
|
|
|
|
|
|
has deck => ( |
|
10
|
|
|
|
|
|
|
is => ro, |
|
11
|
|
|
|
|
|
|
isa => Deck, |
|
12
|
|
|
|
|
|
|
weak_ref => true, |
|
13
|
|
|
|
|
|
|
); |
|
14
|
|
|
|
|
|
|
|
|
15
|
|
|
|
|
|
|
has reverse => ( |
|
16
|
|
|
|
|
|
|
is => lazy, |
|
17
|
|
|
|
|
|
|
isa => Str, |
|
18
|
1
|
|
|
1
|
|
6
|
builder => sub { shift->deck->reverse }, |
|
19
|
|
|
|
|
|
|
); |
|
20
|
|
|
|
|
|
|
|
|
21
|
|
|
|
|
|
|
signature_for to_string => ( |
|
22
|
|
|
|
|
|
|
pos => [], |
|
23
|
|
|
|
|
|
|
); |
|
24
|
|
|
|
|
|
|
|
|
25
|
|
|
|
|
|
|
sub to_string { |
|
26
|
|
|
|
|
|
|
my $self = shift; |
|
27
|
|
|
|
|
|
|
|
|
28
|
|
|
|
|
|
|
carp "to_string needs to be implemented"; |
|
29
|
|
|
|
|
|
|
return 'XX'; |
|
30
|
|
|
|
|
|
|
} |
|
31
|
|
|
|
|
|
|
|
|
32
|
|
|
|
|
|
|
1; |