line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
# -*- perl -*- |
2
|
|
|
|
|
|
|
# |
3
|
|
|
|
|
|
|
# This module was autogenerated by Module::TestConfig |
4
|
|
|
|
|
|
|
|
5
|
|
|
|
|
|
|
package MyConfig; |
6
|
|
|
|
|
|
|
|
7
|
1
|
|
|
1
|
|
6
|
use strict; |
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
40
|
|
8
|
1
|
|
|
1
|
|
7
|
use Carp; |
|
1
|
|
|
|
|
1
|
|
|
1
|
|
|
|
|
75
|
|
9
|
1
|
|
|
1
|
|
5
|
use vars '$AUTOLOAD'; |
|
1
|
|
|
|
|
1
|
|
|
1
|
|
|
|
|
244
|
|
10
|
|
|
|
|
|
|
|
11
|
|
|
|
|
|
|
sub new { |
12
|
1
|
|
|
1
|
0
|
2
|
my $proto = shift; |
13
|
1
|
|
33
|
|
|
7
|
my $class = ref $proto || $proto; |
14
|
1
|
|
|
|
|
6
|
my $self = { |
15
|
|
|
|
|
|
|
'four' => '4', |
16
|
|
|
|
|
|
|
'testconfig_five' => '5', |
17
|
|
|
|
|
|
|
'three' => '3', |
18
|
|
|
|
|
|
|
'two' => '2', |
19
|
|
|
|
|
|
|
'one' => '1' |
20
|
|
|
|
|
|
|
} |
21
|
|
|
|
|
|
|
; |
22
|
1
|
|
|
|
|
7
|
return bless $self, $class; |
23
|
|
|
|
|
|
|
} |
24
|
|
|
|
|
|
|
|
25
|
|
|
|
|
|
|
sub AUTOLOAD { |
26
|
6
|
|
|
6
|
|
11
|
my $self = shift; |
27
|
|
|
|
|
|
|
|
28
|
6
|
|
|
|
|
34
|
($AUTOLOAD) = $AUTOLOAD =~ /(\w+)$/; |
29
|
|
|
|
|
|
|
|
30
|
6
|
100
|
66
|
|
|
195
|
croak "No such method: $AUTOLOAD" |
31
|
|
|
|
|
|
|
unless defined $self->{$AUTOLOAD} |
32
|
|
|
|
|
|
|
|| $AUTOLOAD eq "DESTROY"; |
33
|
|
|
|
|
|
|
|
34
|
5
|
|
|
|
|
24
|
return $self->{$AUTOLOAD}; |
35
|
|
|
|
|
|
|
} |
36
|
|
|
|
|
|
|
|
37
|
|
|
|
|
|
|
1; |
38
|
|
|
|
|
|
|
|