line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
package Games::Solitaire::Verify::Base; |
2
|
|
|
|
|
|
|
$Games::Solitaire::Verify::Base::VERSION = '0.2402'; |
3
|
13
|
|
|
13
|
|
75317
|
use strict; |
|
13
|
|
|
|
|
38
|
|
|
13
|
|
|
|
|
384
|
|
4
|
13
|
|
|
13
|
|
69
|
use warnings; |
|
13
|
|
|
|
|
26
|
|
|
13
|
|
|
|
|
339
|
|
5
|
|
|
|
|
|
|
|
6
|
|
|
|
|
|
|
|
7
|
13
|
|
|
13
|
|
5798
|
use Class::XSAccessor; |
|
13
|
|
|
|
|
29367
|
|
|
13
|
|
|
|
|
80
|
|
8
|
|
|
|
|
|
|
|
9
|
|
|
|
|
|
|
|
10
|
|
|
|
|
|
|
|
11
|
|
|
|
|
|
|
sub new |
12
|
|
|
|
|
|
|
{ |
13
|
18176
|
|
|
18176
|
1
|
178800
|
my $class = shift; |
14
|
18176
|
|
|
|
|
27545
|
my $self = {}; |
15
|
18176
|
|
|
|
|
31905
|
bless $self, $class; |
16
|
|
|
|
|
|
|
|
17
|
|
|
|
|
|
|
# May throw an exception. |
18
|
18176
|
|
|
|
|
50053
|
$self->_init(@_); |
19
|
|
|
|
|
|
|
|
20
|
18168
|
|
|
|
|
54813
|
return $self; |
21
|
|
|
|
|
|
|
} |
22
|
|
|
|
|
|
|
|
23
|
|
|
|
|
|
|
|
24
|
|
|
|
|
|
|
sub mk_accessors |
25
|
|
|
|
|
|
|
{ |
26
|
1
|
|
|
1
|
1
|
116
|
my $package = shift; |
27
|
1
|
|
|
|
|
9
|
return $package->mk_acc_ref( [@_] ); |
28
|
|
|
|
|
|
|
} |
29
|
|
|
|
|
|
|
|
30
|
|
|
|
|
|
|
|
31
|
|
|
|
|
|
|
sub mk_acc_ref |
32
|
|
|
|
|
|
|
{ |
33
|
75
|
|
|
75
|
1
|
199
|
my $package = shift; |
34
|
75
|
|
|
|
|
138
|
my $names = shift; |
35
|
|
|
|
|
|
|
|
36
|
75
|
|
|
|
|
201
|
my $mapping = +{ map { $_ => $_ } @$names }; |
|
376
|
|
|
|
|
882
|
|
37
|
|
|
|
|
|
|
|
38
|
75
|
|
|
|
|
5493
|
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__ |