File Coverage

blib/lib/Acme/MetaSyntactic/icao.pm
Criterion Covered Total %
statement 6 6 100.0
branch n/a
condition n/a
subroutine 2 2 100.0
pod n/a
total 8 8 100.0


}g; },
line stmt bran cond sub pod time code
1             package Acme::MetaSyntactic::icao;
2 2     2   1303535 use strict;
  2         8  
  2         117  
3 2     2   511 use Acme::MetaSyntactic::List;
  2         30093  
  2         442  
4             our @ISA = qw( Acme::MetaSyntactic::List );
5             our $VERSION = '1.010';
6             __PACKAGE__->init();
7              
8             our %Remote = (
9             source => [
10             map [ 'https://www.avcodes.co.uk/aptlistres.asp' => "icaoaptlst=$_" ],
11             'A' .. 'Z'
12             ],
13             extract => sub { $_[0] =~ m{([A-Z0-9]{4})
14             );
15              
16             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, L.
114              
115             =cut
116              
117             __DATA__