line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
1
|
|
|
1
|
|
3623
|
use 5.14.0; |
|
1
|
|
|
|
|
3
|
|
|
1
|
|
|
|
|
75
|
|
2
|
|
|
|
|
|
|
|
3
|
|
|
|
|
|
|
package Map::Metro::Plugin::Map::Barcelona; |
4
|
|
|
|
|
|
|
|
5
|
|
|
|
|
|
|
our $VERSION = '0.1007'; # VERSION |
6
|
|
|
|
|
|
|
# ABSTRACT: Map::Metro map for Barcelona |
7
|
|
|
|
|
|
|
|
8
|
1
|
|
|
1
|
|
5
|
use Moose; |
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
7
|
|
9
|
|
|
|
|
|
|
with 'Map::Metro::Plugin::Map'; |
10
|
|
|
|
|
|
|
|
11
|
|
|
|
|
|
|
has '+mapfile' => ( |
12
|
|
|
|
|
|
|
default => 'map-barcelona.metro', |
13
|
|
|
|
|
|
|
); |
14
|
|
|
|
|
|
|
sub map_version { |
15
|
0
|
|
|
0
|
0
|
0
|
return $VERSION; |
16
|
|
|
|
|
|
|
} |
17
|
|
|
|
|
|
|
sub map_package { |
18
|
1
|
|
|
1
|
0
|
3
|
return __PACKAGE__; |
19
|
|
|
|
|
|
|
} |
20
|
|
|
|
|
|
|
|
21
|
|
|
|
|
|
|
1; |
22
|
|
|
|
|
|
|
|
23
|
|
|
|
|
|
|
__END__ |
24
|
|
|
|
|
|
|
|
25
|
|
|
|
|
|
|
=pod |
26
|
|
|
|
|
|
|
|
27
|
|
|
|
|
|
|
=encoding utf-8 |
28
|
|
|
|
|
|
|
|
29
|
|
|
|
|
|
|
=head1 NAME |
30
|
|
|
|
|
|
|
|
31
|
|
|
|
|
|
|
Map::Metro::Plugin::Map::Barcelona - Map::Metro map for Barcelona |
32
|
|
|
|
|
|
|
|
33
|
|
|
|
|
|
|
=head1 VERSION |
34
|
|
|
|
|
|
|
|
35
|
|
|
|
|
|
|
Version 0.1007, released 2015-02-02. |
36
|
|
|
|
|
|
|
|
37
|
|
|
|
|
|
|
=head1 SYNOPSIS |
38
|
|
|
|
|
|
|
|
39
|
|
|
|
|
|
|
use Map::Metro; |
40
|
|
|
|
|
|
|
my $graph = Map::Metro->new('Barcelona')->parse; |
41
|
|
|
|
|
|
|
|
42
|
|
|
|
|
|
|
Or: |
43
|
|
|
|
|
|
|
|
44
|
|
|
|
|
|
|
$ map-metro.pl route Barcelona Paral·lel Tibidabo |
45
|
|
|
|
|
|
|
$ map-metro.pl route Barcelona Parallel Tibidabo |
46
|
|
|
|
|
|
|
|
47
|
|
|
|
|
|
|
=head1 DESCRIPTION |
48
|
|
|
|
|
|
|
|
49
|
|
|
|
|
|
|
See L<Map::Metro> for usage information. |
50
|
|
|
|
|
|
|
|
51
|
|
|
|
|
|
|
=head1 STATUS |
52
|
|
|
|
|
|
|
|
53
|
|
|
|
|
|
|
This map L<contains|Map::Metro::Plugin::Map::Barcelona::Lines>: |
54
|
|
|
|
|
|
|
|
55
|
|
|
|
|
|
|
=over 4 |
56
|
|
|
|
|
|
|
|
57
|
|
|
|
|
|
|
=item * |
58
|
|
|
|
|
|
|
|
59
|
|
|
|
|
|
|
The eleven L-lines (L1 to L11) [L<wikipedia|https://en.wikipedia.org/wiki/Barcelona_Metro>] |
60
|
|
|
|
|
|
|
|
61
|
|
|
|
|
|
|
=item * |
62
|
|
|
|
|
|
|
|
63
|
|
|
|
|
|
|
The I<Tramvia Blau> [L<wikipedia|https://en.wikipedia.org/wiki/Tramvia_Blau>] |
64
|
|
|
|
|
|
|
|
65
|
|
|
|
|
|
|
=item * |
66
|
|
|
|
|
|
|
|
67
|
|
|
|
|
|
|
I<Funicular del Tibidabo> [L<wikipedia|https://en.wikipedia.org/wiki/Funicular_del_Tibidabo>] |
68
|
|
|
|
|
|
|
|
69
|
|
|
|
|
|
|
=item * |
70
|
|
|
|
|
|
|
|
71
|
|
|
|
|
|
|
I<Funicular de Montjuïc> [L<wikipedia|https://en.wikipedia.org/wiki/Funicular_de_Montju%C3%AFc>] |
72
|
|
|
|
|
|
|
|
73
|
|
|
|
|
|
|
=back |
74
|
|
|
|
|
|
|
|
75
|
|
|
|
|
|
|
=head2 Notes |
76
|
|
|
|
|
|
|
|
77
|
|
|
|
|
|
|
* L9 and L10 ends at La Sagrera. |
78
|
|
|
|
|
|
|
|
79
|
|
|
|
|
|
|
* I<Tramvia Blau> only includes the two end-points. |
80
|
|
|
|
|
|
|
|
81
|
|
|
|
|
|
|
=for HTML <p><a href="https://raw.githubusercontent.com/Csson/p5-Map-Metro-Barcelona/master/static/images/barcelona.png"><img src="https://raw.githubusercontent.com/Csson/p5-Map-Metro-Barcelona/master/static/images/barcelona.png" style="max-width: 600px" /></a></p> |
82
|
|
|
|
|
|
|
|
83
|
|
|
|
|
|
|
=head1 SOURCE |
84
|
|
|
|
|
|
|
|
85
|
|
|
|
|
|
|
L<https://github.com/Csson/p5-Map-Metro-Barcelona> |
86
|
|
|
|
|
|
|
|
87
|
|
|
|
|
|
|
=head1 HOMEPAGE |
88
|
|
|
|
|
|
|
|
89
|
|
|
|
|
|
|
L<https://metacpan.org/release/Map-Metro-Plugin-Map-Barcelona> |
90
|
|
|
|
|
|
|
|
91
|
|
|
|
|
|
|
=head1 AUTHOR |
92
|
|
|
|
|
|
|
|
93
|
|
|
|
|
|
|
Erik Carlsson <info@code301.com> |
94
|
|
|
|
|
|
|
|
95
|
|
|
|
|
|
|
=head1 COPYRIGHT AND LICENSE |
96
|
|
|
|
|
|
|
|
97
|
|
|
|
|
|
|
This software is copyright (c) 2015 by Erik Carlsson <info@code301.com>. |
98
|
|
|
|
|
|
|
|
99
|
|
|
|
|
|
|
This is free software; you can redistribute it and/or modify it under |
100
|
|
|
|
|
|
|
the same terms as the Perl 5 programming language system itself. |
101
|
|
|
|
|
|
|
|
102
|
|
|
|
|
|
|
=cut |