line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
1
|
|
|
1
|
|
2873
|
use 5.14.0; |
|
1
|
|
|
|
|
3
|
|
2
|
|
|
|
|
|
|
|
3
|
|
|
|
|
|
|
package Map::Metro::Plugin::Map::Oslo; |
4
|
|
|
|
|
|
|
|
5
|
|
|
|
|
|
|
our $VERSION = '0.1104'; # VERSION |
6
|
|
|
|
|
|
|
# ABSTRACT: Map::Metro map for Oslo |
7
|
|
|
|
|
|
|
|
8
|
1
|
|
|
1
|
|
3
|
use Moose; |
|
1
|
|
|
|
|
1
|
|
|
1
|
|
|
|
|
6
|
|
9
|
|
|
|
|
|
|
|
10
|
|
|
|
|
|
|
with 'Map::Metro::Plugin::Map'; |
11
|
|
|
|
|
|
|
|
12
|
|
|
|
|
|
|
has '+mapfile' => ( |
13
|
|
|
|
|
|
|
default => 'map-oslo.metro', |
14
|
|
|
|
|
|
|
); |
15
|
|
|
|
|
|
|
sub map_version { |
16
|
0
|
|
|
0
|
0
|
0
|
return $VERSION; |
17
|
|
|
|
|
|
|
} |
18
|
|
|
|
|
|
|
sub map_package { |
19
|
1
|
|
|
1
|
0
|
2
|
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::Oslo - Map::Metro map for Oslo |
33
|
|
|
|
|
|
|
|
34
|
|
|
|
|
|
|
|
35
|
|
|
|
|
|
|
|
36
|
|
|
|
|
|
|
=begin HTML |
37
|
|
|
|
|
|
|
|
38
|
|
|
|
|
|
|
<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-Oslo"><img src="https://api.travis-ci.org/Csson/p5-Map-Metro-Oslo.svg?branch=master" alt="Travis status" /></a> <img src="https://img.shields.io/badge/coverage-69.2%-red.svg" alt="coverage 69.2%" /></p> |
39
|
|
|
|
|
|
|
|
40
|
|
|
|
|
|
|
=end HTML |
41
|
|
|
|
|
|
|
|
42
|
|
|
|
|
|
|
|
43
|
|
|
|
|
|
|
=begin markdown |
44
|
|
|
|
|
|
|
|
45
|
|
|
|
|
|
|
![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-Oslo.svg?branch=master)](https://travis-ci.org/Csson/p5-Map-Metro-Oslo) ![coverage 69.2%](https://img.shields.io/badge/coverage-69.2%-red.svg) |
46
|
|
|
|
|
|
|
|
47
|
|
|
|
|
|
|
=end markdown |
48
|
|
|
|
|
|
|
|
49
|
|
|
|
|
|
|
=head1 VERSION |
50
|
|
|
|
|
|
|
|
51
|
|
|
|
|
|
|
Version 0.1104, released 2016-01-24. |
52
|
|
|
|
|
|
|
|
53
|
|
|
|
|
|
|
=head1 SYNOPSIS |
54
|
|
|
|
|
|
|
|
55
|
|
|
|
|
|
|
use Map::Metro; |
56
|
|
|
|
|
|
|
my $graph = Map::Metro->new('Oslo')->parse; |
57
|
|
|
|
|
|
|
|
58
|
|
|
|
|
|
|
Or: |
59
|
|
|
|
|
|
|
|
60
|
|
|
|
|
|
|
$ map-metro.pl route Oslo Veitvet Holmenkollen |
61
|
|
|
|
|
|
|
|
62
|
|
|
|
|
|
|
=head1 DESCRIPTION |
63
|
|
|
|
|
|
|
|
64
|
|
|
|
|
|
|
See L<Map::Metro> for usage information. |
65
|
|
|
|
|
|
|
|
66
|
|
|
|
|
|
|
=head1 Status |
67
|
|
|
|
|
|
|
|
68
|
|
|
|
|
|
|
This map L<contains|Map::Metro::Plugin::Map::Oslo::Lines>: |
69
|
|
|
|
|
|
|
|
70
|
|
|
|
|
|
|
=over 4 |
71
|
|
|
|
|
|
|
|
72
|
|
|
|
|
|
|
=item * |
73
|
|
|
|
|
|
|
|
74
|
|
|
|
|
|
|
All six metro lines [L<wikipedia|https://en.wikipedia.org/wiki/Oslo_metro>] |
75
|
|
|
|
|
|
|
|
76
|
|
|
|
|
|
|
=back |
77
|
|
|
|
|
|
|
|
78
|
|
|
|
|
|
|
=head2 Note |
79
|
|
|
|
|
|
|
|
80
|
|
|
|
|
|
|
Line 1 terminates at Helsfyr. |
81
|
|
|
|
|
|
|
|
82
|
|
|
|
|
|
|
=for HTML <p><a href="https://raw.githubusercontent.com/Csson/p5-Map-Metro-Oslo/master/static/images/oslo.png"><img src="https://raw.githubusercontent.com/Csson/p5-Map-Metro-Oslo/master/static/images/oslo.png" style="max-width: 600px" /></a></p> |
83
|
|
|
|
|
|
|
|
84
|
|
|
|
|
|
|
=head1 SOURCE |
85
|
|
|
|
|
|
|
|
86
|
|
|
|
|
|
|
L<https://github.com/Csson/p5-Map-Metro-Oslo> |
87
|
|
|
|
|
|
|
|
88
|
|
|
|
|
|
|
=head1 HOMEPAGE |
89
|
|
|
|
|
|
|
|
90
|
|
|
|
|
|
|
L<https://metacpan.org/release/Map-Metro-Plugin-Map-Oslo> |
91
|
|
|
|
|
|
|
|
92
|
|
|
|
|
|
|
=head1 AUTHOR |
93
|
|
|
|
|
|
|
|
94
|
|
|
|
|
|
|
Erik Carlsson <info@code301.com> |
95
|
|
|
|
|
|
|
|
96
|
|
|
|
|
|
|
=head1 COPYRIGHT AND LICENSE |
97
|
|
|
|
|
|
|
|
98
|
|
|
|
|
|
|
This software is copyright (c) 2016 by Erik Carlsson. |
99
|
|
|
|
|
|
|
|
100
|
|
|
|
|
|
|
This is free software; you can redistribute it and/or modify it under |
101
|
|
|
|
|
|
|
the same terms as the Perl 5 programming language system itself. |
102
|
|
|
|
|
|
|
|
103
|
|
|
|
|
|
|
=cut |