line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
1
|
|
|
1
|
|
4438
|
use 5.16.0; |
|
1
|
|
|
|
|
4
|
|
2
|
|
|
|
|
|
|
|
3
|
|
|
|
|
|
|
package Map::Metro::Plugin::Map::Stockholm; |
4
|
|
|
|
|
|
|
|
5
|
|
|
|
|
|
|
# ABSTRACT: Map::Metro map for Stockholm |
6
|
|
|
|
|
|
|
our $AUTHORITY = 'cpan:CSSON'; # AUTHORITY |
7
|
|
|
|
|
|
|
our $VERSION = '0.1973'; |
8
|
|
|
|
|
|
|
|
9
|
1
|
|
|
1
|
|
7
|
use Moose; |
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
10
|
|
10
|
|
|
|
|
|
|
with 'Map::Metro::Plugin::Map'; |
11
|
|
|
|
|
|
|
|
12
|
|
|
|
|
|
|
has '+mapfile' => ( |
13
|
|
|
|
|
|
|
default => 'map-stockholm.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::Stockholm - Map::Metro map for Stockholm |
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-Plugin-Map-Stockholm"><img src="https://api.travis-ci.org/Csson/p5-Map-Metro-Plugin-Map-Stockholm.svg?branch=master" alt="Travis status" /></a> |
41
|
|
|
|
|
|
|
<a href="http://cpants.cpanauthors.org/release/CSSON/Map-Metro-Plugin-Map-Stockholm-0.1973"><img src="http://badgedepot.code301.com/badge/kwalitee/CSSON/Map-Metro-Plugin-Map-Stockholm/0.1973" alt="Distribution kwalitee" /></a> |
42
|
|
|
|
|
|
|
<a href="http://matrix.cpantesters.org/?dist=Map-Metro-Plugin-Map-Stockholm%200.1973"><img src="http://badgedepot.code301.com/badge/cpantesters/Map-Metro-Plugin-Map-Stockholm/0.1973" alt="CPAN Testers result" /></a> |
43
|
|
|
|
|
|
|
<img src="https://img.shields.io/badge/coverage-69.2%-red.svg" alt="coverage 69.2%" /> |
44
|
|
|
|
|
|
|
</p> |
45
|
|
|
|
|
|
|
|
46
|
|
|
|
|
|
|
=end html |
47
|
|
|
|
|
|
|
|
48
|
|
|
|
|
|
|
=head1 VERSION |
49
|
|
|
|
|
|
|
|
50
|
|
|
|
|
|
|
Version 0.1973, released 2019-08-28. |
51
|
|
|
|
|
|
|
|
52
|
|
|
|
|
|
|
=head1 SYNOPSIS |
53
|
|
|
|
|
|
|
|
54
|
|
|
|
|
|
|
use Map::Metro; |
55
|
|
|
|
|
|
|
my $graph = Map::Metro->new('Stockholm')->parse; |
56
|
|
|
|
|
|
|
|
57
|
|
|
|
|
|
|
Or: |
58
|
|
|
|
|
|
|
|
59
|
|
|
|
|
|
|
$ map-metro.pl route Stockholm Akalla Medborgarplatsen |
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::Stockholm>: |
68
|
|
|
|
|
|
|
|
69
|
|
|
|
|
|
|
* All seven subway lines [L<wikipedia|https://en.wikipedia.org/wiki/Stockholm_metro>] |
70
|
|
|
|
|
|
|
|
71
|
|
|
|
|
|
|
* The I<Spårväg City> tram line [L<wikipedia|https://en.wikipedia.org/wiki/Sp%C3%A5rv%C3%A4g_City>] |
72
|
|
|
|
|
|
|
|
73
|
|
|
|
|
|
|
* The I<Tvärbanan> tram line [L<wikipedia|https://en.wikipedia.org/wiki/Nockebybanan>] |
74
|
|
|
|
|
|
|
|
75
|
|
|
|
|
|
|
* The I<Nockebybanan> tram line [L<wikipedia|https://en.wikipedia.org/wiki/Tv%C3%A4rbanan>] |
76
|
|
|
|
|
|
|
|
77
|
|
|
|
|
|
|
* The I<Lidingöbanan> tram line [L<wikipedia|https://en.wikipedia.org/wiki/Liding%C3%B6banan>] |
78
|
|
|
|
|
|
|
|
79
|
|
|
|
|
|
|
=for HTML <p><a href="https://raw.githubusercontent.com/Csson/p5-Map-Metro-Plugin-Map-Stockholm/master/static/images/stockholm.png"><img src="https://raw.githubusercontent.com/Csson/p5-Map-Metro-Plugin-Map-Stockholm/master/static/images/stockholm.png" style="max-width: 600px" /></a></p> |
80
|
|
|
|
|
|
|
|
81
|
|
|
|
|
|
|
=head1 SOURCE |
82
|
|
|
|
|
|
|
|
83
|
|
|
|
|
|
|
L<https://github.com/Csson/p5-Map-Metro-Plugin-Map-Stockholm> |
84
|
|
|
|
|
|
|
|
85
|
|
|
|
|
|
|
=head1 HOMEPAGE |
86
|
|
|
|
|
|
|
|
87
|
|
|
|
|
|
|
L<https://metacpan.org/release/Map-Metro-Plugin-Map-Stockholm> |
88
|
|
|
|
|
|
|
|
89
|
|
|
|
|
|
|
=head1 AUTHOR |
90
|
|
|
|
|
|
|
|
91
|
|
|
|
|
|
|
Erik Carlsson <info@code301.com> |
92
|
|
|
|
|
|
|
|
93
|
|
|
|
|
|
|
=head1 COPYRIGHT AND LICENSE |
94
|
|
|
|
|
|
|
|
95
|
|
|
|
|
|
|
This software is copyright (c) 2016 by Erik Carlsson. |
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 |