line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
1
|
|
|
1
|
|
4226
|
use 5.14.0; |
|
1
|
|
|
|
|
4
|
|
2
|
|
|
|
|
|
|
|
3
|
|
|
|
|
|
|
package Map::Metro::Plugin::Map::Madrid; |
4
|
|
|
|
|
|
|
|
5
|
|
|
|
|
|
|
# ABSTRACT: Map::Metro map for Madrid |
6
|
|
|
|
|
|
|
our $AUTHORITY = 'cpan:CSSON'; # AUTHORITY |
7
|
|
|
|
|
|
|
our $VERSION = '0.1002'; |
8
|
|
|
|
|
|
|
|
9
|
1
|
|
|
1
|
|
7
|
use Moose; |
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
6
|
|
10
|
|
|
|
|
|
|
with 'Map::Metro::Plugin::Map'; |
11
|
|
|
|
|
|
|
|
12
|
|
|
|
|
|
|
has '+mapfile' => ( |
13
|
|
|
|
|
|
|
default => 'map-madrid.metro', |
14
|
|
|
|
|
|
|
); |
15
|
|
|
|
|
|
|
sub map_version { |
16
|
0
|
|
|
0
|
0
|
0
|
return $VERSION; |
17
|
|
|
|
|
|
|
} |
18
|
|
|
|
|
|
|
sub map_package { |
19
|
1
|
|
|
1
|
0
|
3
|
return __PACKAGE__; |
20
|
|
|
|
|
|
|
} |
21
|
|
|
|
|
|
|
|
22
|
|
|
|
|
|
|
1; |
23
|
|
|
|
|
|
|
|
24
|
|
|
|
|
|
|
__END__ |
25
|
|
|
|
|
|
|
|
26
|
|
|
|
|
|
|
=pod |
27
|
|
|
|
|
|
|
|
28
|
|
|
|
|
|
|
=encoding UTF-8 |
29
|
|
|
|
|
|
|
|
30
|
|
|
|
|
|
|
=head1 NAME |
31
|
|
|
|
|
|
|
|
32
|
|
|
|
|
|
|
Map::Metro::Plugin::Map::Madrid - Map::Metro map for Madrid |
33
|
|
|
|
|
|
|
|
34
|
|
|
|
|
|
|
|
35
|
|
|
|
|
|
|
|
36
|
|
|
|
|
|
|
=begin html |
37
|
|
|
|
|
|
|
|
38
|
|
|
|
|
|
|
<p> |
39
|
|
|
|
|
|
|
<img src="https://img.shields.io/badge/perl-5.16+-blue.svg" alt="Requires Perl 5.16+" /> |
40
|
|
|
|
|
|
|
<a href="https://travis-ci.org/Csson/p5-Map-Metro-Madrid"><img src="https://api.travis-ci.org/Csson/p5-Map-Metro-Madrid.svg?branch=master" alt="Travis status" /></a> |
41
|
|
|
|
|
|
|
<a href="http://cpants.cpanauthors.org/release/CSSON/Map-Metro-Plugin-Map-Madrid-0.1002"><img src="http://badgedepot.code301.com/badge/kwalitee/CSSON/Map-Metro-Plugin-Map-Madrid/0.1002" alt="Distribution kwalitee" /></a> |
42
|
|
|
|
|
|
|
<a href="http://matrix.cpantesters.org/?dist=Map-Metro-Plugin-Map-Madrid%200.1002"><img src="http://badgedepot.code301.com/badge/cpantesters/Map-Metro-Plugin-Map-Madrid/0.1002" alt="CPAN Testers result" /></a> |
43
|
|
|
|
|
|
|
</p> |
44
|
|
|
|
|
|
|
|
45
|
|
|
|
|
|
|
=end html |
46
|
|
|
|
|
|
|
|
47
|
|
|
|
|
|
|
=head1 VERSION |
48
|
|
|
|
|
|
|
|
49
|
|
|
|
|
|
|
Version 0.1002, released 2019-05-31. |
50
|
|
|
|
|
|
|
|
51
|
|
|
|
|
|
|
=head1 SYNOPSIS |
52
|
|
|
|
|
|
|
|
53
|
|
|
|
|
|
|
use Map::Metro; |
54
|
|
|
|
|
|
|
my $graph = Map::Metro->new('Madrid')->parse; |
55
|
|
|
|
|
|
|
|
56
|
|
|
|
|
|
|
Or |
57
|
|
|
|
|
|
|
|
58
|
|
|
|
|
|
|
$ map-metro.pl route Madrid "Campo de las Naciones" "Puente de Vallecas" |
59
|
|
|
|
|
|
|
|
60
|
|
|
|
|
|
|
=head1 DESCRIPTION |
61
|
|
|
|
|
|
|
|
62
|
|
|
|
|
|
|
See L<Map::Metro> for usage information. |
63
|
|
|
|
|
|
|
|
64
|
|
|
|
|
|
|
=head1 Status |
65
|
|
|
|
|
|
|
|
66
|
|
|
|
|
|
|
L<Map::Metro::Plugin::Map::Madrid::Lines> |
67
|
|
|
|
|
|
|
|
68
|
|
|
|
|
|
|
As of 2015-jan-07 it contains: |
69
|
|
|
|
|
|
|
|
70
|
|
|
|
|
|
|
=over 4 |
71
|
|
|
|
|
|
|
|
72
|
|
|
|
|
|
|
=item * |
73
|
|
|
|
|
|
|
|
74
|
|
|
|
|
|
|
The twelve metro lines + Ramal [L<wikipedia|https://en.wikipedia.org/wiki/Madrid_Metro>] |
75
|
|
|
|
|
|
|
|
76
|
|
|
|
|
|
|
=back |
77
|
|
|
|
|
|
|
|
78
|
|
|
|
|
|
|
=for HTML <p><a href="https://raw.githubusercontent.com/Csson/p5-Map-Metro-Madrid/master/static/images/madrid.png"><img src="https://raw.githubusercontent.com/Csson/p5-Map-Metro-Madrid/master/static/images/madrid.png" style="max-width: 600px" /></a></p> |
79
|
|
|
|
|
|
|
|
80
|
|
|
|
|
|
|
=head1 SEE ALSO |
81
|
|
|
|
|
|
|
|
82
|
|
|
|
|
|
|
=over 4 |
83
|
|
|
|
|
|
|
|
84
|
|
|
|
|
|
|
=item * |
85
|
|
|
|
|
|
|
|
86
|
|
|
|
|
|
|
L<Map::Metro> |
87
|
|
|
|
|
|
|
|
88
|
|
|
|
|
|
|
=item * |
89
|
|
|
|
|
|
|
|
90
|
|
|
|
|
|
|
L<Task::MapMetro::Maps> |
91
|
|
|
|
|
|
|
|
92
|
|
|
|
|
|
|
=back |
93
|
|
|
|
|
|
|
|
94
|
|
|
|
|
|
|
=head1 SOURCE |
95
|
|
|
|
|
|
|
|
96
|
|
|
|
|
|
|
L<https://github.com/Csson/p5-Map-Metro-Madrid> |
97
|
|
|
|
|
|
|
|
98
|
|
|
|
|
|
|
=head1 HOMEPAGE |
99
|
|
|
|
|
|
|
|
100
|
|
|
|
|
|
|
L<https://metacpan.org/release/Map-Metro-Plugin-Map-Madrid> |
101
|
|
|
|
|
|
|
|
102
|
|
|
|
|
|
|
=head1 AUTHOR |
103
|
|
|
|
|
|
|
|
104
|
|
|
|
|
|
|
Erik Carlsson <info@code301.com> |
105
|
|
|
|
|
|
|
|
106
|
|
|
|
|
|
|
=head1 COPYRIGHT AND LICENSE |
107
|
|
|
|
|
|
|
|
108
|
|
|
|
|
|
|
This software is copyright (c) 2016 by Erik Carlsson. |
109
|
|
|
|
|
|
|
|
110
|
|
|
|
|
|
|
This is free software; you can redistribute it and/or modify it under |
111
|
|
|
|
|
|
|
the same terms as the Perl 5 programming language system itself. |
112
|
|
|
|
|
|
|
|
113
|
|
|
|
|
|
|
=cut |