line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
1
|
|
|
1
|
|
2687
|
use 5.14.0; |
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
53
|
|
2
|
|
|
|
|
|
|
|
3
|
|
|
|
|
|
|
package Map::Metro::Plugin::Map::Madrid; |
4
|
|
|
|
|
|
|
|
5
|
|
|
|
|
|
|
our $VERSION = '0.1001'; # VERSION |
6
|
|
|
|
|
|
|
|
7
|
1
|
|
|
1
|
|
3
|
use Moose; |
|
1
|
|
|
|
|
1
|
|
|
1
|
|
|
|
|
7
|
|
8
|
|
|
|
|
|
|
with 'Map::Metro::Plugin::Map'; |
9
|
|
|
|
|
|
|
|
10
|
|
|
|
|
|
|
has '+mapfile' => ( |
11
|
|
|
|
|
|
|
default => 'map-madrid.metro', |
12
|
|
|
|
|
|
|
); |
13
|
|
|
|
|
|
|
sub map_version { |
14
|
0
|
|
|
0
|
0
|
0
|
return $VERSION; |
15
|
|
|
|
|
|
|
} |
16
|
|
|
|
|
|
|
sub map_package { |
17
|
1
|
|
|
1
|
0
|
2
|
return __PACKAGE__; |
18
|
|
|
|
|
|
|
} |
19
|
|
|
|
|
|
|
|
20
|
|
|
|
|
|
|
1; |
21
|
|
|
|
|
|
|
|
22
|
|
|
|
|
|
|
# ABSTRACT: Map::Metro map for Madrid |
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
|
|
|
|
|
|
|
=head1 VERSION |
35
|
|
|
|
|
|
|
|
36
|
|
|
|
|
|
|
Version 0.1001, released 2015-03-20. |
37
|
|
|
|
|
|
|
|
38
|
|
|
|
|
|
|
=head1 SYNOPSIS |
39
|
|
|
|
|
|
|
|
40
|
|
|
|
|
|
|
use Map::Metro; |
41
|
|
|
|
|
|
|
my $graph = Map::Metro->new('Madrid')->parse; |
42
|
|
|
|
|
|
|
|
43
|
|
|
|
|
|
|
Or |
44
|
|
|
|
|
|
|
|
45
|
|
|
|
|
|
|
$ map-metro.pl route Madrid "Campo de las Naciones" "Puente de Vallecas" |
46
|
|
|
|
|
|
|
|
47
|
|
|
|
|
|
|
=head1 DESCRIPTION |
48
|
|
|
|
|
|
|
|
49
|
|
|
|
|
|
|
See L<Map::Metro> for usage information. |
50
|
|
|
|
|
|
|
|
51
|
|
|
|
|
|
|
=head1 Status |
52
|
|
|
|
|
|
|
|
53
|
|
|
|
|
|
|
L<Map::Metro::Plugin::Map::Madrid::Lines> |
54
|
|
|
|
|
|
|
|
55
|
|
|
|
|
|
|
As of 2015-jan-07 it contains: |
56
|
|
|
|
|
|
|
|
57
|
|
|
|
|
|
|
=over 4 |
58
|
|
|
|
|
|
|
|
59
|
|
|
|
|
|
|
=item * |
60
|
|
|
|
|
|
|
|
61
|
|
|
|
|
|
|
The twelve metro lines + Ramal [L<wikipedia|https://en.wikipedia.org/wiki/Madrid_Metro>] |
62
|
|
|
|
|
|
|
|
63
|
|
|
|
|
|
|
=back |
64
|
|
|
|
|
|
|
|
65
|
|
|
|
|
|
|
=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> |
66
|
|
|
|
|
|
|
|
67
|
|
|
|
|
|
|
=head1 SEE ALSO |
68
|
|
|
|
|
|
|
|
69
|
|
|
|
|
|
|
=over 4 |
70
|
|
|
|
|
|
|
|
71
|
|
|
|
|
|
|
=item * |
72
|
|
|
|
|
|
|
|
73
|
|
|
|
|
|
|
L<Map::Metro> |
74
|
|
|
|
|
|
|
|
75
|
|
|
|
|
|
|
=item * |
76
|
|
|
|
|
|
|
|
77
|
|
|
|
|
|
|
L<Task::MapMetro::Maps> |
78
|
|
|
|
|
|
|
|
79
|
|
|
|
|
|
|
=back |
80
|
|
|
|
|
|
|
|
81
|
|
|
|
|
|
|
=head1 SOURCE |
82
|
|
|
|
|
|
|
|
83
|
|
|
|
|
|
|
L<https://github.com/Csson/p5-Map-Metro-Madrid> |
84
|
|
|
|
|
|
|
|
85
|
|
|
|
|
|
|
=head1 HOMEPAGE |
86
|
|
|
|
|
|
|
|
87
|
|
|
|
|
|
|
L<https://metacpan.org/release/Map-Metro-Plugin-Map-Madrid> |
88
|
|
|
|
|
|
|
|
89
|
|
|
|
|
|
|
=head1 AUTHOR |
90
|
|
|
|
|
|
|
|
91
|
|
|
|
|
|
|
Erik Carlsson <info@code301.com> |
92
|
|
|
|
|
|
|
|
93
|
|
|
|
|
|
|
=head1 COPYRIGHT AND LICENSE |
94
|
|
|
|
|
|
|
|
95
|
|
|
|
|
|
|
This software is copyright (c) 2015 by Erik Carlsson <info@code301.com>. |
96
|
|
|
|
|
|
|
|
97
|
|
|
|
|
|
|
This is free software; you can redistribute it and/or modify it under |
98
|
|
|
|
|
|
|
the same terms as the Perl 5 programming language system itself. |
99
|
|
|
|
|
|
|
|
100
|
|
|
|
|
|
|
=cut |