line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
1
|
|
|
1
|
|
4327
|
use 5.14.0; |
|
1
|
|
|
|
|
4
|
|
2
|
1
|
|
|
1
|
|
4
|
use warnings; |
|
1
|
|
|
|
|
3
|
|
|
1
|
|
|
|
|
75
|
|
3
|
|
|
|
|
|
|
|
4
|
|
|
|
|
|
|
package Map::Metro::Plugin::Map::Gothenburg; |
5
|
|
|
|
|
|
|
|
6
|
|
|
|
|
|
|
our $VERSION = '0.1004'; # VERSION |
7
|
|
|
|
|
|
|
# ABSTRACT: Map::Metro map for Gothenburg |
8
|
|
|
|
|
|
|
|
9
|
1
|
|
|
1
|
|
5
|
use Moose; |
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
8
|
|
10
|
1
|
|
|
1
|
|
7058
|
use namespace::autoclean; |
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
12
|
|
11
|
|
|
|
|
|
|
with 'Map::Metro::Plugin::Map'; |
12
|
|
|
|
|
|
|
|
13
|
|
|
|
|
|
|
has '+mapfile' => ( |
14
|
|
|
|
|
|
|
default => 'map-gothenburg.metro', |
15
|
|
|
|
|
|
|
); |
16
|
|
|
|
|
|
|
sub map_version { |
17
|
0
|
|
|
0
|
0
|
0
|
return $VERSION; |
18
|
|
|
|
|
|
|
} |
19
|
|
|
|
|
|
|
sub map_package { |
20
|
1
|
|
|
1
|
0
|
3
|
return __PACKAGE__; |
21
|
|
|
|
|
|
|
} |
22
|
|
|
|
|
|
|
|
23
|
|
|
|
|
|
|
__PACKAGE__->meta->make_immutable; |
24
|
|
|
|
|
|
|
|
25
|
|
|
|
|
|
|
1; |
26
|
|
|
|
|
|
|
|
27
|
|
|
|
|
|
|
__END__ |
28
|
|
|
|
|
|
|
|
29
|
|
|
|
|
|
|
=pod |
30
|
|
|
|
|
|
|
|
31
|
|
|
|
|
|
|
=encoding utf-8 |
32
|
|
|
|
|
|
|
|
33
|
|
|
|
|
|
|
=head1 NAME |
34
|
|
|
|
|
|
|
|
35
|
|
|
|
|
|
|
Map::Metro::Plugin::Map::Gothenburg - Map::Metro map for Gothenburg |
36
|
|
|
|
|
|
|
|
37
|
|
|
|
|
|
|
|
38
|
|
|
|
|
|
|
|
39
|
|
|
|
|
|
|
=begin HTML |
40
|
|
|
|
|
|
|
|
41
|
|
|
|
|
|
|
<p><img src="https://img.shields.io/badge/perl-5.16+-brightgreen.svg" alt="Requires Perl 5.16+" /> <a href="https://travis-ci.org/Csson/p5-Map-Metro-Gothenburg"><img src="https://api.travis-ci.org/Csson/p5-Map-Metro-Gothenburg.svg?branch=master" alt="Travis status" /></a> </p> |
42
|
|
|
|
|
|
|
|
43
|
|
|
|
|
|
|
=end HTML |
44
|
|
|
|
|
|
|
|
45
|
|
|
|
|
|
|
|
46
|
|
|
|
|
|
|
=begin markdown |
47
|
|
|
|
|
|
|
|
48
|
|
|
|
|
|
|
![Requires Perl 5.16+](https://img.shields.io/badge/perl-5.16+-brightgreen.svg) [![Travis status](https://api.travis-ci.org/Csson/p5-Map-Metro-Gothenburg.svg?branch=master)](https://travis-ci.org/Csson/p5-Map-Metro-Gothenburg) |
49
|
|
|
|
|
|
|
|
50
|
|
|
|
|
|
|
=end markdown |
51
|
|
|
|
|
|
|
|
52
|
|
|
|
|
|
|
=head1 VERSION |
53
|
|
|
|
|
|
|
|
54
|
|
|
|
|
|
|
Version 0.1004, released 2016-01-23. |
55
|
|
|
|
|
|
|
|
56
|
|
|
|
|
|
|
=head1 SYNOPSIS |
57
|
|
|
|
|
|
|
|
58
|
|
|
|
|
|
|
use Map::Metro; |
59
|
|
|
|
|
|
|
my $graph = Map::Metro->new('Gothenburg')->parse; |
60
|
|
|
|
|
|
|
|
61
|
|
|
|
|
|
|
Or: |
62
|
|
|
|
|
|
|
|
63
|
|
|
|
|
|
|
$ map-metro.pl route Gothenburg Saltholmen Torp |
64
|
|
|
|
|
|
|
|
65
|
|
|
|
|
|
|
=head1 DESCRIPTION |
66
|
|
|
|
|
|
|
|
67
|
|
|
|
|
|
|
See L<Map::Metro> for usage information. |
68
|
|
|
|
|
|
|
|
69
|
|
|
|
|
|
|
=head1 Status |
70
|
|
|
|
|
|
|
|
71
|
|
|
|
|
|
|
This map L<contains|Map::Metro::Plugin::Map::Gothenburg::Lines>: |
72
|
|
|
|
|
|
|
|
73
|
|
|
|
|
|
|
=over 4 |
74
|
|
|
|
|
|
|
|
75
|
|
|
|
|
|
|
=item * |
76
|
|
|
|
|
|
|
|
77
|
|
|
|
|
|
|
All twelve regular tram lines [L<wikipedia|https://en.wikipedia.org/wiki/Gothenburg_tram_network>] |
78
|
|
|
|
|
|
|
|
79
|
|
|
|
|
|
|
=back |
80
|
|
|
|
|
|
|
|
81
|
|
|
|
|
|
|
=for HTML <p><a href="https://raw.githubusercontent.com/Csson/p5-Map-Metro-Gothenburg/master/static/images/gothenburg.png"><img src="https://raw.githubusercontent.com/Csson/p5-Map-Metro-Gothenburg/master/static/images/gothenburg.png" style="max-width: 600px" /></a></p> |
82
|
|
|
|
|
|
|
|
83
|
|
|
|
|
|
|
=head1 SOURCE |
84
|
|
|
|
|
|
|
|
85
|
|
|
|
|
|
|
L<https://github.com/Csson/p5-Map-Metro-Gothenburg> |
86
|
|
|
|
|
|
|
|
87
|
|
|
|
|
|
|
=head1 HOMEPAGE |
88
|
|
|
|
|
|
|
|
89
|
|
|
|
|
|
|
L<https://metacpan.org/release/Map-Metro-Plugin-Map-Gothenburg> |
90
|
|
|
|
|
|
|
|
91
|
|
|
|
|
|
|
=head1 AUTHOR |
92
|
|
|
|
|
|
|
|
93
|
|
|
|
|
|
|
Erik Carlsson <info@code301.com> |
94
|
|
|
|
|
|
|
|
95
|
|
|
|
|
|
|
=head1 COPYRIGHT AND LICENSE |
96
|
|
|
|
|
|
|
|
97
|
|
|
|
|
|
|
This software is copyright (c) 2016 by Erik Carlsson. |
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 |