line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
1
|
|
|
1
|
|
4197
|
use 5.14.0; |
|
1
|
|
|
|
|
4
|
|
2
|
|
|
|
|
|
|
|
3
|
|
|
|
|
|
|
package Map::Metro::Plugin::Map::Barcelona; |
4
|
|
|
|
|
|
|
|
5
|
|
|
|
|
|
|
# ABSTRACT: Map::Metro map for Barcelona |
6
|
|
|
|
|
|
|
our $AUTHORITY = 'cpan:CSSON'; # AUTHORITY |
7
|
|
|
|
|
|
|
our $VERSION = '0.1008'; |
8
|
|
|
|
|
|
|
|
9
|
1
|
|
|
1
|
|
6
|
use Moose; |
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
10
|
|
10
|
|
|
|
|
|
|
with 'Map::Metro::Plugin::Map'; |
11
|
|
|
|
|
|
|
|
12
|
|
|
|
|
|
|
has '+mapfile' => ( |
13
|
|
|
|
|
|
|
default => 'map-barcelona.metro', |
14
|
|
|
|
|
|
|
); |
15
|
|
|
|
|
|
|
sub map_version { |
16
|
0
|
|
|
0
|
0
|
0
|
return $VERSION; |
17
|
|
|
|
|
|
|
} |
18
|
|
|
|
|
|
|
sub map_package { |
19
|
1
|
|
|
1
|
0
|
4
|
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::Barcelona - Map::Metro map for Barcelona |
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-Barcelona"><img src="https://api.travis-ci.org/Csson/p5-Map-Metro-Barcelona.svg?branch=master" alt="Travis status" /></a> |
41
|
|
|
|
|
|
|
<a href="http://cpants.cpanauthors.org/release/CSSON/Map-Metro-Plugin-Map-Barcelona-0.1008"><img src="http://badgedepot.code301.com/badge/kwalitee/CSSON/Map-Metro-Plugin-Map-Barcelona/0.1008" alt="Distribution kwalitee" /></a> |
42
|
|
|
|
|
|
|
<a href="http://matrix.cpantesters.org/?dist=Map-Metro-Plugin-Map-Barcelona%200.1008"><img src="http://badgedepot.code301.com/badge/cpantesters/Map-Metro-Plugin-Map-Barcelona/0.1008" alt="CPAN Testers result" /></a> |
43
|
|
|
|
|
|
|
</p> |
44
|
|
|
|
|
|
|
|
45
|
|
|
|
|
|
|
=end html |
46
|
|
|
|
|
|
|
|
47
|
|
|
|
|
|
|
=head1 VERSION |
48
|
|
|
|
|
|
|
|
49
|
|
|
|
|
|
|
Version 0.1008, released 2019-03-31. |
50
|
|
|
|
|
|
|
|
51
|
|
|
|
|
|
|
=head1 SYNOPSIS |
52
|
|
|
|
|
|
|
|
53
|
|
|
|
|
|
|
use Map::Metro; |
54
|
|
|
|
|
|
|
my $graph = Map::Metro->new('Barcelona')->parse; |
55
|
|
|
|
|
|
|
|
56
|
|
|
|
|
|
|
Or: |
57
|
|
|
|
|
|
|
|
58
|
|
|
|
|
|
|
$ map-metro.pl route Barcelona Paral·lel Tibidabo |
59
|
|
|
|
|
|
|
$ map-metro.pl route Barcelona Parallel Tibidabo |
60
|
|
|
|
|
|
|
|
61
|
|
|
|
|
|
|
=head1 DESCRIPTION |
62
|
|
|
|
|
|
|
|
63
|
|
|
|
|
|
|
See L<Map::Metro> for usage information. |
64
|
|
|
|
|
|
|
|
65
|
|
|
|
|
|
|
=head1 STATUS |
66
|
|
|
|
|
|
|
|
67
|
|
|
|
|
|
|
This map L<contains|Map::Metro::Plugin::Map::Barcelona::Lines>: |
68
|
|
|
|
|
|
|
|
69
|
|
|
|
|
|
|
=over 4 |
70
|
|
|
|
|
|
|
|
71
|
|
|
|
|
|
|
=item * |
72
|
|
|
|
|
|
|
|
73
|
|
|
|
|
|
|
The eleven L-lines (L1 to L11) [L<wikipedia|https://en.wikipedia.org/wiki/Barcelona_Metro>] |
74
|
|
|
|
|
|
|
|
75
|
|
|
|
|
|
|
=item * |
76
|
|
|
|
|
|
|
|
77
|
|
|
|
|
|
|
The I<Tramvia Blau> [L<wikipedia|https://en.wikipedia.org/wiki/Tramvia_Blau>] |
78
|
|
|
|
|
|
|
|
79
|
|
|
|
|
|
|
=item * |
80
|
|
|
|
|
|
|
|
81
|
|
|
|
|
|
|
I<Funicular del Tibidabo> [L<wikipedia|https://en.wikipedia.org/wiki/Funicular_del_Tibidabo>] |
82
|
|
|
|
|
|
|
|
83
|
|
|
|
|
|
|
=item * |
84
|
|
|
|
|
|
|
|
85
|
|
|
|
|
|
|
I<Funicular de Montjuïc> [L<wikipedia|https://en.wikipedia.org/wiki/Funicular_de_Montju%C3%AFc>] |
86
|
|
|
|
|
|
|
|
87
|
|
|
|
|
|
|
=back |
88
|
|
|
|
|
|
|
|
89
|
|
|
|
|
|
|
=head2 Notes |
90
|
|
|
|
|
|
|
|
91
|
|
|
|
|
|
|
* L9 and L10 ends at La Sagrera. |
92
|
|
|
|
|
|
|
|
93
|
|
|
|
|
|
|
* I<Tramvia Blau> only includes the two end-points. |
94
|
|
|
|
|
|
|
|
95
|
|
|
|
|
|
|
=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> |
96
|
|
|
|
|
|
|
|
97
|
|
|
|
|
|
|
=head1 SOURCE |
98
|
|
|
|
|
|
|
|
99
|
|
|
|
|
|
|
L<https://github.com/Csson/p5-Map-Metro-Barcelona> |
100
|
|
|
|
|
|
|
|
101
|
|
|
|
|
|
|
=head1 HOMEPAGE |
102
|
|
|
|
|
|
|
|
103
|
|
|
|
|
|
|
L<https://metacpan.org/release/Map-Metro-Plugin-Map-Barcelona> |
104
|
|
|
|
|
|
|
|
105
|
|
|
|
|
|
|
=head1 AUTHOR |
106
|
|
|
|
|
|
|
|
107
|
|
|
|
|
|
|
Erik Carlsson <info@code301.com> |
108
|
|
|
|
|
|
|
|
109
|
|
|
|
|
|
|
=head1 COPYRIGHT AND LICENSE |
110
|
|
|
|
|
|
|
|
111
|
|
|
|
|
|
|
This software is copyright (c) 2016 by Erik Carlsson. |
112
|
|
|
|
|
|
|
|
113
|
|
|
|
|
|
|
This is free software; you can redistribute it and/or modify it under |
114
|
|
|
|
|
|
|
the same terms as the Perl 5 programming language system itself. |
115
|
|
|
|
|
|
|
|
116
|
|
|
|
|
|
|
=cut |