line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
package Games::Solitaire::Verify::Base; |
2
|
|
|
|
|
|
|
$Games::Solitaire::Verify::Base::VERSION = '0.2401'; |
3
|
13
|
|
|
13
|
|
75594
|
use strict; |
|
13
|
|
|
|
|
36
|
|
|
13
|
|
|
|
|
378
|
|
4
|
13
|
|
|
13
|
|
66
|
use warnings; |
|
13
|
|
|
|
|
24
|
|
|
13
|
|
|
|
|
328
|
|
5
|
|
|
|
|
|
|
|
6
|
|
|
|
|
|
|
|
7
|
13
|
|
|
13
|
|
5839
|
use Class::XSAccessor; |
|
13
|
|
|
|
|
28549
|
|
|
13
|
|
|
|
|
78
|
|
8
|
|
|
|
|
|
|
|
9
|
|
|
|
|
|
|
|
10
|
|
|
|
|
|
|
|
11
|
|
|
|
|
|
|
sub new |
12
|
|
|
|
|
|
|
{ |
13
|
18176
|
|
|
18176
|
1
|
171439
|
my $class = shift; |
14
|
18176
|
|
|
|
|
27583
|
my $self = {}; |
15
|
18176
|
|
|
|
|
30715
|
bless $self, $class; |
16
|
|
|
|
|
|
|
|
17
|
|
|
|
|
|
|
# May throw an exception. |
18
|
18176
|
|
|
|
|
50152
|
$self->_init(@_); |
19
|
|
|
|
|
|
|
|
20
|
18168
|
|
|
|
|
54852
|
return $self; |
21
|
|
|
|
|
|
|
} |
22
|
|
|
|
|
|
|
|
23
|
|
|
|
|
|
|
|
24
|
|
|
|
|
|
|
sub mk_accessors |
25
|
|
|
|
|
|
|
{ |
26
|
1
|
|
|
1
|
1
|
117
|
my $package = shift; |
27
|
1
|
|
|
|
|
8
|
return $package->mk_acc_ref( [@_] ); |
28
|
|
|
|
|
|
|
} |
29
|
|
|
|
|
|
|
|
30
|
|
|
|
|
|
|
|
31
|
|
|
|
|
|
|
sub mk_acc_ref |
32
|
|
|
|
|
|
|
{ |
33
|
75
|
|
|
75
|
1
|
188
|
my $package = shift; |
34
|
75
|
|
|
|
|
138
|
my $names = shift; |
35
|
|
|
|
|
|
|
|
36
|
75
|
|
|
|
|
200
|
my $mapping = +{ map { $_ => $_ } @$names }; |
|
376
|
|
|
|
|
910
|
|
37
|
|
|
|
|
|
|
|
38
|
75
|
|
|
|
|
5217
|
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__ |