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