blib/lib/Acme/MetaSyntactic/iata.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/currency.pm ↑ Summary blib/lib/Acme/MetaSyntactic/icao.pm »
1 package Acme::MetaSyntactic::iata;
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.009';
6 2 __PACKAGE__->init();
7  
8 our %Remote = (
9 source => [
10 map [ 'https://www.avcodes.co.uk/aptlistres.asp' => "iataaptlst=$_" ],
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::iata - IATA airport codes
21  
22 =head1 DESCRIPTION
23  
24 The three letter IATA 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.009
37  
38 Updated from the source web site in Acme-MetaSyntactic-Themes version 1.057.
39  
40 =item *
41  
42 2026-01-12 - v1.008
43  
44 Updated from the source web site in Acme-MetaSyntactic-Themes version 1.056.
45  
46 =item *
47  
48 2021-04-30 - v1.007
49  
50 Updated from the source web site in Acme-MetaSyntactic-Themes version 1.055.
51  
52 =item *
53  
54 2019-10-28 - v1.006
55  
56 Updated from the source web site in Acme-MetaSyntactic-Themes version 1.054.
57  
58 =item *
59  
60 2019-07-29 - v1.005
61  
62 Updated from the source web site in Acme-MetaSyntactic-Themes version 1.053.
63  
64 =item *
65  
66 2018-10-29 - v1.004
67  
68 Updated from the source web site in Acme-MetaSyntactic-Themes version 1.052.
69  
70 =item *
71  
72 2017-11-13 - v1.003
73  
74 Updated from the source web site in Acme-MetaSyntactic-Themes version 1.051.
75  
76 =item *
77  
78 2017-06-12 - v1.002
79  
80 Updated from the source web site in Acme-MetaSyntactic-Themes version 1.050.
81  
82 =item *
83  
84 2013-12-09 - v1.001
85  
86 Updated from the source web site in Acme-MetaSyntactic-Themes version 1.038.
87  
88 =item *
89  
90 2012-07-02 - v1.000
91  
92 Updated with a remote source that doubled the number of airport codes,
93 and published in Acme-MetaSyntactic-Themes version 1.008.
94  
95 =item *
96  
97 2005-11-11
98  
99 Submitted by Abigail.
100  
101 =back
102  
103 =head1 SEE ALSO
104  
105 L<Acme::MetaSyntactic>, L<Acme::MetaSyntactic::List>.
106  
107 =cut
108  
109 __DATA__
« blib/lib/Acme/MetaSyntactic/currency.pm ↑ Summary blib/lib/Acme/MetaSyntactic/icao.pm »