line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
1
|
|
|
1
|
|
8
|
use strict;
|
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
30
|
|
2
|
1
|
|
|
1
|
|
5
|
use warnings;
|
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
27
|
|
3
|
1
|
|
|
1
|
|
5
|
use Perlmazing;
|
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
5
|
|
4
|
|
|
|
|
|
|
|
5
|
|
|
|
|
|
|
sub main {
|
6
|
10
|
|
|
10
|
0
|
14701
|
my $offset = 0;
|
7
|
10
|
50
|
66
|
|
|
33
|
(@_) = ($_) if not @_ and defined $_;
|
8
|
10
|
100
|
66
|
|
|
49
|
if (not defined wantarray) {
|
|
|
100
|
|
|
|
|
|
|
|
50
|
|
|
|
|
|
9
|
4
|
|
|
|
|
7
|
foreach my $i (@_) {
|
10
|
1
|
|
|
1
|
|
8
|
no warnings;
|
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
285
|
|
11
|
13
|
50
|
|
|
|
34
|
defined($i) ? print "$i\n" : print "\n";
|
12
|
|
|
|
|
|
|
}
|
13
|
4
|
100
|
|
|
|
17
|
print "\n" if not @_;
|
14
|
|
|
|
|
|
|
} elsif (defined wantarray and not wantarray) {
|
15
|
3
|
|
|
|
|
5
|
my $res;
|
16
|
3
|
|
|
|
|
7
|
foreach my $i (@_) {
|
17
|
13
|
50
|
|
|
|
26
|
$res .= defined($i) ? "$i\n" : "\n";
|
18
|
|
|
|
|
|
|
}
|
19
|
3
|
50
|
|
|
|
7
|
return "\n" if not @_;
|
20
|
3
|
|
|
|
|
10
|
return $res;
|
21
|
|
|
|
|
|
|
} elsif (wantarray) {
|
22
|
3
|
|
|
|
|
4
|
my @res;
|
23
|
3
|
|
|
|
|
7
|
foreach my $i (@_) {
|
24
|
13
|
50
|
|
|
|
32
|
push @res, defined($i) ? "$i\n" : "\n";
|
25
|
|
|
|
|
|
|
}
|
26
|
3
|
50
|
|
|
|
9
|
return "\n" if not @_;
|
27
|
3
|
|
|
|
|
13
|
return @res;
|
28
|
|
|
|
|
|
|
}
|
29
|
|
|
|
|
|
|
}
|
30
|
|
|
|
|
|
|
|
31
|
|
|
|
|
|
|
1; |