line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
package Acme::SvGROW; |
2
|
|
|
|
|
|
|
|
3
|
|
|
|
|
|
|
require Exporter; |
4
|
|
|
|
|
|
|
@ISA = qw(Exporter); |
5
|
|
|
|
|
|
|
|
6
|
|
|
|
|
|
|
@EXPORT = qw( |
7
|
|
|
|
|
|
|
SvGROW |
8
|
|
|
|
|
|
|
); |
9
|
|
|
|
|
|
|
|
10
|
|
|
|
|
|
|
$VERSION = '0.03'; |
11
|
1
|
|
|
1
|
|
397
|
if (eval <<'dgrowp' |
|
0
|
|
|
|
|
0
|
|
|
0
|
|
|
|
|
0
|
|
12
|
|
|
|
|
|
|
use Data::Peek 'DGrow'; |
13
|
|
|
|
|
|
|
1; |
14
|
|
|
|
|
|
|
dgrowp |
15
|
|
|
|
|
|
|
){ |
16
|
|
|
|
|
|
|
eval <<'LVAL' or eval <<'NOLVAL' or die "DGrow sub failed: $@" |
17
|
|
|
|
|
|
|
|
18
|
|
|
|
|
|
|
sub SvGROW($$) : lvalue { |
19
|
|
|
|
|
|
|
DGrow($_[0],$_[1]); |
20
|
|
|
|
|
|
|
$_[0] |
21
|
|
|
|
|
|
|
} |
22
|
|
|
|
|
|
|
1; |
23
|
|
|
|
|
|
|
LVAL |
24
|
|
|
|
|
|
|
|
25
|
|
|
|
|
|
|
sub SvGROW($$) { |
26
|
|
|
|
|
|
|
DGrow($_[0],$_[1]); |
27
|
|
|
|
|
|
|
$_[0] |
28
|
|
|
|
|
|
|
} |
29
|
|
|
|
|
|
|
NOLVAL |
30
|
|
|
|
|
|
|
|
31
|
|
|
|
|
|
|
} |
32
|
|
|
|
|
|
|
else |
33
|
|
|
|
|
|
|
{ |
34
|
|
|
|
|
|
|
eval <<'LVAL' or eval <<'NOLVAL' |
35
|
|
|
|
|
|
|
|
36
|
|
|
|
|
|
|
sub SvGROW($$) : lvalue { |
37
|
|
|
|
|
|
|
my $tmp = $_[0]; |
38
|
|
|
|
|
|
|
$_[0] = pack 'x'.int(0+$_[1]); |
39
|
|
|
|
|
|
|
$_[0] = $tmp; |
40
|
|
|
|
|
|
|
$_[0] |
41
|
|
|
|
|
|
|
} |
42
|
|
|
|
|
|
|
1; |
43
|
|
|
|
|
|
|
LVAL |
44
|
|
|
|
|
|
|
|
45
|
|
|
|
|
|
|
sub SvGROW($$) { |
46
|
|
|
|
|
|
|
my $tmp = $_[0]; |
47
|
|
|
|
|
|
|
$_[0] = pack 'x'.int(0+$_[1]); |
48
|
|
|
|
|
|
|
$_[0] = $tmp; |
49
|
|
|
|
|
|
|
$_[0] |
50
|
|
|
|
|
|
|
} |
51
|
|
|
|
|
|
|
NOLVAL |
52
|
|
|
|
|
|
|
|
53
|
2
|
|
|
2
|
0
|
834
|
}; |
|
2
|
|
|
|
|
51
|
|
|
1
|
|
|
|
|
3
|
|
|
1
|
|
|
|
|
10
|
|
54
|
|
|
|
|
|
|
|
55
|
|
|
|
|
|
|
1; |
56
|
|
|
|
|
|
|
__END__ |