line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
1
|
|
|
1
|
|
3077
|
use 5.16.0; |
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
34
|
|
2
|
1
|
|
|
1
|
|
4
|
use strict; |
|
1
|
|
|
|
|
1
|
|
|
1
|
|
|
|
|
24
|
|
3
|
1
|
|
|
1
|
|
4
|
use warnings; |
|
1
|
|
|
|
|
0
|
|
|
1
|
|
|
|
|
48
|
|
4
|
|
|
|
|
|
|
|
5
|
|
|
|
|
|
|
package Map::Metro::Plugin::Map::Helsinki { |
6
|
|
|
|
|
|
|
|
7
|
|
|
|
|
|
|
our $VERSION = '0.1985'; # VERSION |
8
|
|
|
|
|
|
|
# ABSTRACT: Map::Metro map for Helsinki |
9
|
|
|
|
|
|
|
|
10
|
1
|
|
|
1
|
|
4
|
use Moose; |
|
1
|
|
|
|
|
1
|
|
|
1
|
|
|
|
|
8
|
|
11
|
|
|
|
|
|
|
with 'Map::Metro::Plugin::Map'; |
12
|
|
|
|
|
|
|
|
13
|
|
|
|
|
|
|
has '+mapfile' => ( |
14
|
|
|
|
|
|
|
default => 'map-helsinki.metro', |
15
|
|
|
|
|
|
|
); |
16
|
|
|
|
|
|
|
sub map_version { |
17
|
0
|
|
|
0
|
0
|
0
|
return $VERSION; |
18
|
|
|
|
|
|
|
} |
19
|
|
|
|
|
|
|
sub map_package { |
20
|
3
|
|
|
3
|
0
|
8
|
return __PACKAGE__; |
21
|
|
|
|
|
|
|
} |
22
|
|
|
|
|
|
|
} |
23
|
|
|
|
|
|
|
|
24
|
|
|
|
|
|
|
|
25
|
|
|
|
|
|
|
1; |
26
|
|
|
|
|
|
|
|
27
|
|
|
|
|
|
|
__END__ |
28
|
|
|
|
|
|
|
|
29
|
|
|
|
|
|
|
=pod |
30
|
|
|
|
|
|
|
|
31
|
|
|
|
|
|
|
=encoding utf-8 |
32
|
|
|
|
|
|
|
|
33
|
|
|
|
|
|
|
=head1 NAME |
34
|
|
|
|
|
|
|
|
35
|
|
|
|
|
|
|
Map::Metro::Plugin::Map::Helsinki - Map::Metro map for Helsinki |
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-Helsinki"><img src="https://api.travis-ci.org/Csson/p5-Map-Metro-Helsinki.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-Helsinki.svg?branch=master)](https://travis-ci.org/Csson/p5-Map-Metro-Helsinki) |
49
|
|
|
|
|
|
|
|
50
|
|
|
|
|
|
|
=end markdown |
51
|
|
|
|
|
|
|
|
52
|
|
|
|
|
|
|
=head1 VERSION |
53
|
|
|
|
|
|
|
|
54
|
|
|
|
|
|
|
Version 0.1985, released 2015-04-26. |
55
|
|
|
|
|
|
|
|
56
|
|
|
|
|
|
|
=head1 SYNOPSIS |
57
|
|
|
|
|
|
|
|
58
|
|
|
|
|
|
|
use Map::Metro; |
59
|
|
|
|
|
|
|
my $graph = Map::Metro->new('Helsinki')->parse; |
60
|
|
|
|
|
|
|
|
61
|
|
|
|
|
|
|
my $graph2 = Map::Metro->new('Helsinki', hooks => 'Helsinki::Swedish')->parse; |
62
|
|
|
|
|
|
|
# now the station names are in Swedish |
63
|
|
|
|
|
|
|
|
64
|
|
|
|
|
|
|
=head1 DESCRIPTION |
65
|
|
|
|
|
|
|
|
66
|
|
|
|
|
|
|
See L<Map::Metro> for usage information. |
67
|
|
|
|
|
|
|
|
68
|
|
|
|
|
|
|
This distribution also includes the C<Map::Metro::Plugin::Hook::Helsinki::Swedish> hook, which if applied |
69
|
|
|
|
|
|
|
translates all station names into Swedish. |
70
|
|
|
|
|
|
|
|
71
|
|
|
|
|
|
|
=head1 Status |
72
|
|
|
|
|
|
|
|
73
|
|
|
|
|
|
|
See L<Map::Metro::Plugin::Map::Helsinki::Lines> |
74
|
|
|
|
|
|
|
|
75
|
|
|
|
|
|
|
This map includes: |
76
|
|
|
|
|
|
|
|
77
|
|
|
|
|
|
|
=over 4 |
78
|
|
|
|
|
|
|
|
79
|
|
|
|
|
|
|
=item * |
80
|
|
|
|
|
|
|
|
81
|
|
|
|
|
|
|
The two branches of the Helsinki metro [L<wikipedia|https://en.wikipedia.org/wiki/Helsinki_Metro>] |
82
|
|
|
|
|
|
|
|
83
|
|
|
|
|
|
|
=back |
84
|
|
|
|
|
|
|
|
85
|
|
|
|
|
|
|
=for HTML <p><a href="https://raw.githubusercontent.com/Csson/p5-Map-Metro-Helsinki/master/static/images/helsinki.png"><img src="https://raw.githubusercontent.com/Csson/p5-Map-Metro-Helsinki/master/static/images/helsinki.png" style="max-width: 600px" /></a></p> |
86
|
|
|
|
|
|
|
|
87
|
|
|
|
|
|
|
=head1 SOURCE |
88
|
|
|
|
|
|
|
|
89
|
|
|
|
|
|
|
L<https://github.com/Csson/p5-Map-Metro-Helsinki> |
90
|
|
|
|
|
|
|
|
91
|
|
|
|
|
|
|
=head1 HOMEPAGE |
92
|
|
|
|
|
|
|
|
93
|
|
|
|
|
|
|
L<https://metacpan.org/release/Map-Metro-Plugin-Map-Helsinki> |
94
|
|
|
|
|
|
|
|
95
|
|
|
|
|
|
|
=head1 AUTHOR |
96
|
|
|
|
|
|
|
|
97
|
|
|
|
|
|
|
Erik Carlsson <info@code301.com> |
98
|
|
|
|
|
|
|
|
99
|
|
|
|
|
|
|
=head1 COPYRIGHT AND LICENSE |
100
|
|
|
|
|
|
|
|
101
|
|
|
|
|
|
|
This software is copyright (c) 2015 by Erik Carlsson <info@code301.com>. |
102
|
|
|
|
|
|
|
|
103
|
|
|
|
|
|
|
This is free software; you can redistribute it and/or modify it under |
104
|
|
|
|
|
|
|
the same terms as the Perl 5 programming language system itself. |
105
|
|
|
|
|
|
|
|
106
|
|
|
|
|
|
|
=cut |