line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
package TipJar::fields; |
2
|
|
|
|
|
|
|
|
3
|
1
|
|
|
1
|
|
10109
|
use strict; |
|
1
|
|
|
|
|
39
|
|
|
1
|
|
|
|
|
44
|
|
4
|
1
|
|
|
1
|
|
6
|
use warnings; |
|
1
|
|
|
|
|
4
|
|
|
1
|
|
|
|
|
43
|
|
5
|
1
|
|
|
1
|
|
5
|
use vars qw/$VERSION/; |
|
1
|
|
|
|
|
58
|
|
|
1
|
|
|
|
|
68
|
|
6
|
|
|
|
|
|
|
$VERSION = '0.01'; |
7
|
1
|
|
|
1
|
|
134
|
use Carp; |
|
1
|
|
|
|
|
3
|
|
|
1
|
|
|
|
|
381
|
|
8
|
|
|
|
|
|
|
sub import{ |
9
|
1
|
|
|
1
|
|
8
|
shift; |
10
|
1
|
|
|
|
|
4
|
my $CP = caller; |
11
|
1
|
|
|
|
|
2
|
my $number; |
12
|
0
|
|
|
|
|
0
|
my $code = join '',"package $CP;\n", |
13
|
|
|
|
|
|
|
map { |
14
|
1
|
|
|
|
|
4
|
my $N = $number++; |
15
|
|
|
|
|
|
|
<
|
16
|
|
|
|
|
|
|
|
17
|
|
|
|
|
|
|
sub $_(){$N;}; |
18
|
|
|
|
|
|
|
sub get$_ { \$_[0]->[$_]; }; |
19
|
|
|
|
|
|
|
sub set$_ { \$_[0]->[$_] = \$_[1]; }; |
20
|
|
|
|
|
|
|
|
21
|
|
|
|
|
|
|
EOF |
22
|
0
|
|
|
|
|
0
|
} @_; |
23
|
|
|
|
|
|
|
|
24
|
1
|
|
|
|
|
29
|
eval $code; |
25
|
|
|
|
|
|
|
|
26
|
1
|
50
|
|
|
|
2703
|
$@ and croak "$@\n$code\nEND\n"; |
27
|
|
|
|
|
|
|
}; |
28
|
|
|
|
|
|
|
|
29
|
|
|
|
|
|
|
1; |
30
|
|
|
|
|
|
|
__END__ |