blib/lib/Location/Area/DoCoMo/iArea/Aura.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
statement | 3 | 13 | 23.0 |
branch | 0 | 2 | 0.0 |
condition | n/a | ||
subroutine | 1 | 2 | 50.0 |
pod | 0 | 1 | 0.0 |
total | 4 | 18 | 22.2 |
line | stmt | bran | cond | sub | pod | time | code |
---|---|---|---|---|---|---|---|
1 | package Location::Area::DoCoMo::iArea::Aura; | ||||||
2 | |||||||
3 | 1 | 1 | 5 | use strict; | |||
1 | 3 | ||||||
1 | 519 | ||||||
4 | |||||||
5 | sub seek | ||||||
6 | { | ||||||
7 | 0 | 0 | 0 | shift; | |||
8 | 0 | seek DATA,0,0; | |||||
9 | 0 | my ($aid,$said) = @_; | |||||
10 | 0 | my ($wara,$sara,$eara,$nara); | |||||
11 | 0 | while (my $line = ) | |||||
12 | { | ||||||
13 | 0 | my @scan = $line =~ /^\s*\w+!\s$aid$said\s.*Real:\s(\d+),(\d+),(\d+),(\d+)$/; | |||||
14 | 0 | 0 | if (@scan) | ||||
15 | { | ||||||
16 | 0 | ($wara,$sara,$eara,$nara) = @scan; | |||||
17 | 0 | last; | |||||
18 | } | ||||||
19 | } | ||||||
20 | 0 | return ($wara,$sara,$eara,$nara); | |||||
21 | } | ||||||
22 | |||||||
23 | 1; | ||||||
24 | __DATA__ |