File Coverage

blib/lib/Acme/MetaSyntactic/iata.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::iata;
2 1     1   81979 use strict;
  1         7  
  1         37  
3 1     1   6 use Acme::MetaSyntactic::List;
  1         1  
  1         186  
4             our @ISA = qw( Acme::MetaSyntactic::List );
5             our $VERSION = '1.007';
6             __PACKAGE__->init();
7              
8             our %Remote = (
9             source => [
10             map [ 'https://www.avcodes.co.uk/aptlistres.asp' => "iataaptlst=$_" ],
11             'A' .. 'Z'
12             ],
13             extract => sub { $_[0] =~ m{
(\w+)
14             );
15              
16             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, L.
94              
95             =cut
96              
97             __DATA__