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.007';
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 2021-04-30 - v1.007
37  
38 Updated from the source web site in Acme-MetaSyntactic-Themes version 1.055.
39  
40 =item *
41  
42 2019-10-28 - v1.006
43  
44 Updated from the source web site in Acme-MetaSyntactic-Themes version 1.054.
45  
46 =item *
47  
48 2019-07-29 - v1.005
49  
50 Updated from the source web site in Acme-MetaSyntactic-Themes version 1.053.
51  
52 =item *
53  
54 2018-10-29 - v1.004
55  
56 Updated from the source web site in Acme-MetaSyntactic-Themes version 1.052.
57  
58 =item *
59  
60 2017-11-13 - v1.003
61  
62 Updated from the source web site in Acme-MetaSyntactic-Themes version 1.051.
63  
64 =item *
65  
66 2017-06-12 - v1.002
67  
68 Updated from the source web site in Acme-MetaSyntactic-Themes version 1.050.
69  
70 =item *
71  
72 2013-12-09 - v1.001
73  
74 Updated from the source web site in Acme-MetaSyntactic-Themes version 1.038.
75  
76 =item *
77  
78 2012-07-02 - v1.000
79  
80 Updated with a remote source that doubled the number of airport codes,
81 and published in Acme-MetaSyntactic-Themes version 1.008.
82  
83 =item *
84  
85 2005-11-11
86  
87 Submitted by Abigail.
88  
89 =back
90  
91 =head1 SEE ALSO
92  
93 L<Acme::MetaSyntactic>, L<Acme::MetaSyntactic::List>.
94  
95 =cut
96  
97 __DATA__
« blib/lib/Acme/MetaSyntactic/currency.pm ↑ Summary blib/lib/Acme/MetaSyntactic/icao.pm »