line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
# -*- perl -*- |
2
|
|
|
|
|
|
|
|
3
|
|
|
|
|
|
|
# |
4
|
|
|
|
|
|
|
# Author: Slaven Rezic |
5
|
|
|
|
|
|
|
# |
6
|
|
|
|
|
|
|
# Copyright (C) 2014,2015,2017,2018,2019,2020 Slaven Rezic. All rights reserved. |
7
|
|
|
|
|
|
|
# This package is free software; you can redistribute it and/or |
8
|
|
|
|
|
|
|
# modify it under the same terms as Perl itself. |
9
|
|
|
|
|
|
|
# |
10
|
|
|
|
|
|
|
# Mail: slaven@rezic.de |
11
|
|
|
|
|
|
|
# WWW: http://www.rezic.de/eserte/ |
12
|
|
|
|
|
|
|
# |
13
|
|
|
|
|
|
|
|
14
|
|
|
|
|
|
|
{ |
15
|
|
|
|
|
|
|
package Map::Metro::Plugin::Map::Berlin; |
16
|
|
|
|
|
|
|
|
17
|
|
|
|
|
|
|
our $VERSION = '2020.1204'; |
18
|
|
|
|
|
|
|
|
19
|
1
|
|
|
1
|
|
4393
|
use Moose; |
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
9
|
|
20
|
1
|
|
|
1
|
|
8631
|
use File::ShareDir 'dist_dir'; |
|
1
|
|
|
|
|
14629
|
|
|
1
|
|
|
|
|
59
|
|
21
|
1
|
|
|
1
|
|
8
|
use Path::Tiny; |
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
112
|
|
22
|
|
|
|
|
|
|
with 'Map::Metro::Plugin::Map'; |
23
|
|
|
|
|
|
|
|
24
|
|
|
|
|
|
|
has '+mapfile' => ( |
25
|
|
|
|
|
|
|
default => sub { path(dist_dir('Map-Metro-Plugin-Map-Berlin'))->child('map-berlin.metro')->absolute }, |
26
|
|
|
|
|
|
|
); |
27
|
|
|
|
|
|
|
} |
28
|
|
|
|
|
|
|
|
29
|
|
|
|
|
|
|
1; |
30
|
|
|
|
|
|
|
|
31
|
|
|
|
|
|
|
__END__ |
32
|
|
|
|
|
|
|
|
33
|
|
|
|
|
|
|
=encoding utf-8 |
34
|
|
|
|
|
|
|
|
35
|
|
|
|
|
|
|
=head1 NAME |
36
|
|
|
|
|
|
|
|
37
|
|
|
|
|
|
|
Map::Metro::Plugin::Map::Berlin - Map::Metro map for Berlin |
38
|
|
|
|
|
|
|
|
39
|
|
|
|
|
|
|
=head1 SYNOPSIS |
40
|
|
|
|
|
|
|
|
41
|
|
|
|
|
|
|
use Map::Metro; |
42
|
|
|
|
|
|
|
my $graph = Map::Metro->new('Berlin')->parse; |
43
|
|
|
|
|
|
|
|
44
|
|
|
|
|
|
|
From commandline: |
45
|
|
|
|
|
|
|
|
46
|
|
|
|
|
|
|
map-metro.pl route Berlin "Rathaus Spandau" "Rudow" |
47
|
|
|
|
|
|
|
|
48
|
|
|
|
|
|
|
=head1 DESCRIPTION |
49
|
|
|
|
|
|
|
|
50
|
|
|
|
|
|
|
See L<Map::Metro> for usage information. |
51
|
|
|
|
|
|
|
|
52
|
|
|
|
|
|
|
=head1 Status |
53
|
|
|
|
|
|
|
|
54
|
|
|
|
|
|
|
The network currently contains both U-Bahn and S-Bahn. |
55
|
|
|
|
|
|
|
|
56
|
|
|
|
|
|
|
=head1 AUTHOR |
57
|
|
|
|
|
|
|
|
58
|
|
|
|
|
|
|
Slaven Rezic E<lt>srezic@cpan.orgE<gt> |
59
|
|
|
|
|
|
|
|
60
|
|
|
|
|
|
|
=head1 SEE ALSO |
61
|
|
|
|
|
|
|
|
62
|
|
|
|
|
|
|
L<Map::Metro>, L<Map::Tube::Berlin>. |
63
|
|
|
|
|
|
|
|
64
|
|
|
|
|
|
|
=cut |