line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
package Games::Solitaire::Verify::Base; |
2
|
|
|
|
|
|
|
$Games::Solitaire::Verify::Base::VERSION = '0.2403'; |
3
|
13
|
|
|
13
|
|
75432
|
use strict; |
|
13
|
|
|
|
|
40
|
|
|
13
|
|
|
|
|
370
|
|
4
|
13
|
|
|
13
|
|
65
|
use warnings; |
|
13
|
|
|
|
|
34
|
|
|
13
|
|
|
|
|
331
|
|
5
|
|
|
|
|
|
|
|
6
|
|
|
|
|
|
|
|
7
|
13
|
|
|
13
|
|
5943
|
use Class::XSAccessor; |
|
13
|
|
|
|
|
29828
|
|
|
13
|
|
|
|
|
90
|
|
8
|
|
|
|
|
|
|
|
9
|
|
|
|
|
|
|
|
10
|
|
|
|
|
|
|
|
11
|
|
|
|
|
|
|
sub new |
12
|
|
|
|
|
|
|
{ |
13
|
18176
|
|
|
18176
|
1
|
165490
|
my $class = shift; |
14
|
18176
|
|
|
|
|
27618
|
my $self = {}; |
15
|
18176
|
|
|
|
|
30793
|
bless $self, $class; |
16
|
|
|
|
|
|
|
|
17
|
|
|
|
|
|
|
# May throw an exception. |
18
|
18176
|
|
|
|
|
50838
|
$self->_init(@_); |
19
|
|
|
|
|
|
|
|
20
|
18168
|
|
|
|
|
55079
|
return $self; |
21
|
|
|
|
|
|
|
} |
22
|
|
|
|
|
|
|
|
23
|
|
|
|
|
|
|
|
24
|
|
|
|
|
|
|
sub mk_accessors |
25
|
|
|
|
|
|
|
{ |
26
|
1
|
|
|
1
|
1
|
122
|
my $package = shift; |
27
|
1
|
|
|
|
|
9
|
return $package->mk_acc_ref( [@_] ); |
28
|
|
|
|
|
|
|
} |
29
|
|
|
|
|
|
|
|
30
|
|
|
|
|
|
|
|
31
|
|
|
|
|
|
|
sub mk_acc_ref |
32
|
|
|
|
|
|
|
{ |
33
|
75
|
|
|
75
|
1
|
206
|
my $package = shift; |
34
|
75
|
|
|
|
|
139
|
my $names = shift; |
35
|
|
|
|
|
|
|
|
36
|
75
|
|
|
|
|
199
|
my $mapping = +{ map { $_ => $_ } @$names }; |
|
376
|
|
|
|
|
931
|
|
37
|
|
|
|
|
|
|
|
38
|
75
|
|
|
|
|
5262
|
eval <<"EOF"; |
39
|
|
|
|
|
|
|
package $package; |
40
|
|
|
|
|
|
|
|
41
|
|
|
|
|
|
|
Class::XSAccessor->import( |
42
|
|
|
|
|
|
|
accessors => \$mapping, |
43
|
|
|
|
|
|
|
); |
44
|
|
|
|
|
|
|
EOF |
45
|
|
|
|
|
|
|
|
46
|
|
|
|
|
|
|
} |
47
|
|
|
|
|
|
|
|
48
|
|
|
|
|
|
|
1; # End of Games::Solitaire::Verify::Base |
49
|
|
|
|
|
|
|
|
50
|
|
|
|
|
|
|
__END__ |