blib/lib/Acme/MetaSyntactic/icao.pm

filter: Statementstmt 91.6% 11 / 12 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 66.6% 2 / 3 Podpod n/a totaltotal 86.6% 13 / 15 CC 1 SCAR 2.9
CC
1
Cov
92%
__ANON__
2.0
BEGIN
1.0
BEGIN
1.0
CRAP 1.3
« blib/lib/Acme/MetaSyntactic/iata.pm ↑ Summary blib/lib/Acme/MetaSyntactic/unicode.pm »
1 package Acme::MetaSyntactic::icao;
2 2 ▶use strict;
Subroutine BEGIN: called CC=1 SCAR=0.0
3 2 ▶use Acme::MetaSyntactic::List;
Subroutine BEGIN: called CC=1 SCAR=0.0
4 2 our @ISA = qw( Acme::MetaSyntactic::List );
5 2 our $VERSION = '1.008';
6 2 __PACKAGE__->init();
7  
8 our %Remote = (
9 source => [
10 map [ 'https://www.avcodes.co.uk/aptlistres.asp' => "icaoaptlst=$_" ],
11 'A' .. 'Z'
12 ],
13 0 ▶ extract => sub { $_[0] =~ m{<tr><td>(\w+)</td>}g; },
Subroutine __ANON__: not called CC=1 SCAR=6.9
14 2 );
15  
16 2 1;
17  
18 =head1 NAME
19  
20 Acme::MetaSyntactic::icao - ICAO airport codes
21  
22 =head1 DESCRIPTION
23  
24 The four letter ICAO codes for airports.
25  
26 =head1 CONTRIBUTORS
27  
28 Abigail, Philippe Bruhat (BooK)
29  
30 =head1 CHANGES
31  
32 =over 4
33  
34 =item *
35  
36 2021-04-30 - v1.008
37  
38 Updated from the source web site in Acme-MetaSyntactic-Themes version 1.055.
39  
40 =item *
41  
42 2019-07-29 - v1.007
43  
44 Updated from the source web site in Acme-MetaSyntactic-Themes version 1.053.
45  
46 =item *
47  
48 2018-10-29 - v1.006
49  
50 Updated from the source web site in Acme-MetaSyntactic-Themes version 1.052.
51  
52 =item *
53  
54 2017-11-13 - v1.005
55  
56 Updated from the source web site in Acme-MetaSyntactic-Themes version 1.051.
57  
58 =item *
59  
60 2017-06-12 - v1.004
61  
62 Updated from the source web site in Acme-MetaSyntactic-Themes version 1.050.
63  
64 =item *
65  
66 2015-08-10 - v1.003
67  
68 Updated from the source web site in Acme-MetaSyntactic-Themes version 1.047.
69  
70 =item *
71  
72 2015-06-08 - v1.002
73  
74 Updated from the source web site in Acme-MetaSyntactic-Themes version 1.046.
75  
76 =item *
77  
78 2013-12-09 - v1.001
79  
80 Updated from the source web site in Acme-MetaSyntactic-Themes version 1.038.
81  
82 =item *
83  
84 2012-07-09 - v1.000
85  
86 Updated with a remote source that doubled the number of airport codes,
87 and published in Acme-MetaSyntactic-Themes version 1.009.
88  
89 =item *
90  
91 2005-11-11
92  
93 Submitted by Abigail.
94  
95 =back
96  
97 =head1 SEE ALSO
98  
99 L<Acme::MetaSyntactic>, L<Acme::MetaSyntactic::List>.
100  
101 =cut
102  
103 __DATA__
« blib/lib/Acme/MetaSyntactic/iata.pm ↑ Summary blib/lib/Acme/MetaSyntactic/unicode.pm »