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/pause_id.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.010';
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{<td>([A-Z0-9]{4})</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 2026-01-26 - v1.010
37  
38 Updated from the source web site in Acme-MetaSyntactic-Themes version 1.057.
39  
40 =item *
41  
42 2026-01-12 - v1.009
43  
44 Updated from the source web site in Acme-MetaSyntactic-Themes version 1.056.
45  
46 Fixed the regular expressions to capture the IACO airport codes.
47  
48 =item *
49  
50 2021-04-30 - v1.008
51  
52 Updated from the source web site in Acme-MetaSyntactic-Themes version 1.055.
53  
54 =item *
55  
56 2019-07-29 - v1.007
57  
58 Updated from the source web site in Acme-MetaSyntactic-Themes version 1.053.
59  
60 =item *
61  
62 2018-10-29 - v1.006
63  
64 Updated from the source web site in Acme-MetaSyntactic-Themes version 1.052.
65  
66 =item *
67  
68 2017-11-13 - v1.005
69  
70 Updated from the source web site in Acme-MetaSyntactic-Themes version 1.051.
71  
72 =item *
73  
74 2017-06-12 - v1.004
75  
76 Updated from the source web site in Acme-MetaSyntactic-Themes version 1.050.
77  
78 =item *
79  
80 2015-08-10 - v1.003
81  
82 Updated from the source web site in Acme-MetaSyntactic-Themes version 1.047.
83  
84 =item *
85  
86 2015-06-08 - v1.002
87  
88 Updated from the source web site in Acme-MetaSyntactic-Themes version 1.046.
89  
90 =item *
91  
92 2013-12-09 - v1.001
93  
94 Updated from the source web site in Acme-MetaSyntactic-Themes version 1.038.
95  
96 =item *
97  
98 2012-07-09 - v1.000
99  
100 Updated with a remote source that doubled the number of airport codes,
101 and published in Acme-MetaSyntactic-Themes version 1.009.
102  
103 =item *
104  
105 2005-11-11
106  
107 Submitted by Abigail.
108  
109 =back
110  
111 =head1 SEE ALSO
112  
113 L<Acme::MetaSyntactic>, L<Acme::MetaSyntactic::List>.
114  
115 =cut
116  
117 __DATA__
« blib/lib/Acme/MetaSyntactic/iata.pm ↑ Summary blib/lib/Acme/MetaSyntactic/pause_id.pm »