line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
1
|
|
|
1
|
|
4193
|
use 5.14.0; |
|
1
|
|
|
|
|
3
|
|
2
|
|
|
|
|
|
|
|
3
|
|
|
|
|
|
|
package Map::Metro::Plugin::Map::Budapest; |
4
|
|
|
|
|
|
|
|
5
|
|
|
|
|
|
|
# ABSTRACT: Map::Metro map for Budapest |
6
|
|
|
|
|
|
|
our $AUTHORITY = 'cpan:CSSON'; # AUTHORITY |
7
|
|
|
|
|
|
|
our $VERSION = '0.1002'; |
8
|
|
|
|
|
|
|
|
9
|
1
|
|
|
1
|
|
8
|
use Moose; |
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
8
|
|
10
|
|
|
|
|
|
|
with 'Map::Metro::Plugin::Map'; |
11
|
|
|
|
|
|
|
|
12
|
|
|
|
|
|
|
has '+mapfile' => ( |
13
|
|
|
|
|
|
|
default => 'map-budapest.metro', |
14
|
|
|
|
|
|
|
); |
15
|
|
|
|
|
|
|
sub map_package { |
16
|
1
|
|
|
1
|
0
|
4
|
return __PACKAGE__; |
17
|
|
|
|
|
|
|
} |
18
|
|
|
|
|
|
|
|
19
|
|
|
|
|
|
|
1; |
20
|
|
|
|
|
|
|
|
21
|
|
|
|
|
|
|
__END__ |
22
|
|
|
|
|
|
|
|
23
|
|
|
|
|
|
|
=pod |
24
|
|
|
|
|
|
|
|
25
|
|
|
|
|
|
|
=encoding utf-8 |
26
|
|
|
|
|
|
|
|
27
|
|
|
|
|
|
|
=head1 NAME |
28
|
|
|
|
|
|
|
|
29
|
|
|
|
|
|
|
Map::Metro::Plugin::Map::Budapest - Map::Metro map for Budapest |
30
|
|
|
|
|
|
|
|
31
|
|
|
|
|
|
|
|
32
|
|
|
|
|
|
|
|
33
|
|
|
|
|
|
|
=begin html |
34
|
|
|
|
|
|
|
|
35
|
|
|
|
|
|
|
<p> |
36
|
|
|
|
|
|
|
<img src="https://img.shields.io/badge/perl-5.16+-blue.svg" alt="Requires Perl 5.16+" /> |
37
|
|
|
|
|
|
|
<a href="https://travis-ci.org/Csson/p5-Map-Metro-Budapest"><img src="https://api.travis-ci.org/Csson/p5-Map-Metro-Budapest.svg?branch=master" alt="Travis status" /></a> |
38
|
|
|
|
|
|
|
<a href="http://cpants.cpanauthors.org/release/CSSON/Map-Metro-Plugin-Map-Budapest-0.1002"><img src="http://badgedepot.code301.com/badge/kwalitee/CSSON/Map-Metro-Plugin-Map-Budapest/0.1002" alt="Distribution kwalitee" /></a> |
39
|
|
|
|
|
|
|
<a href="http://matrix.cpantesters.org/?dist=Map-Metro-Plugin-Map-Budapest%200.1002"><img src="http://badgedepot.code301.com/badge/cpantesters/Map-Metro-Plugin-Map-Budapest/0.1002" alt="CPAN Testers result" /></a> |
40
|
|
|
|
|
|
|
<img src="https://img.shields.io/badge/coverage-90.0%-yellow.svg" alt="coverage 90.0%" /> |
41
|
|
|
|
|
|
|
</p> |
42
|
|
|
|
|
|
|
|
43
|
|
|
|
|
|
|
=end html |
44
|
|
|
|
|
|
|
|
45
|
|
|
|
|
|
|
=head1 VERSION |
46
|
|
|
|
|
|
|
|
47
|
|
|
|
|
|
|
Version 0.1002, released 2019-02-27. |
48
|
|
|
|
|
|
|
|
49
|
|
|
|
|
|
|
=head1 SYNOPSIS |
50
|
|
|
|
|
|
|
|
51
|
|
|
|
|
|
|
use Map::Metro; |
52
|
|
|
|
|
|
|
my $graph = Map::Metro->new('Budapest')->parse; |
53
|
|
|
|
|
|
|
|
54
|
|
|
|
|
|
|
Or |
55
|
|
|
|
|
|
|
|
56
|
|
|
|
|
|
|
$ map-metro.pl route Budapest "II. János Pál pápa tér" "Opera" |
57
|
|
|
|
|
|
|
|
58
|
|
|
|
|
|
|
=head1 DESCRIPTION |
59
|
|
|
|
|
|
|
|
60
|
|
|
|
|
|
|
See L<Map::Metro> for usage information. |
61
|
|
|
|
|
|
|
|
62
|
|
|
|
|
|
|
=head1 Status |
63
|
|
|
|
|
|
|
|
64
|
|
|
|
|
|
|
L<Map::Metro::Plugin::Map::Budapest::Lines> |
65
|
|
|
|
|
|
|
|
66
|
|
|
|
|
|
|
This map consists of: |
67
|
|
|
|
|
|
|
|
68
|
|
|
|
|
|
|
=over 4 |
69
|
|
|
|
|
|
|
|
70
|
|
|
|
|
|
|
=item * |
71
|
|
|
|
|
|
|
|
72
|
|
|
|
|
|
|
The four metro lines [L<wikipedia|https://en.wikipedia.org/wiki/Budapest_Metro>] |
73
|
|
|
|
|
|
|
|
74
|
|
|
|
|
|
|
=back |
75
|
|
|
|
|
|
|
|
76
|
|
|
|
|
|
|
=for HTML <p><a href="https://raw.githubusercontent.com/Csson/p5-Map-Metro-Budapest/master/static/images/budapest.png"><img src="https://raw.githubusercontent.com/Csson/p5-Map-Metro-Budapest/master/static/images/budapest.png" style="max-width: 600px" /></a></p> |
77
|
|
|
|
|
|
|
|
78
|
|
|
|
|
|
|
=head1 SOURCE |
79
|
|
|
|
|
|
|
|
80
|
|
|
|
|
|
|
L<https://github.com/Csson/p5-Map-Metro-Budapest> |
81
|
|
|
|
|
|
|
|
82
|
|
|
|
|
|
|
=head1 HOMEPAGE |
83
|
|
|
|
|
|
|
|
84
|
|
|
|
|
|
|
L<https://metacpan.org/release/Map-Metro-Plugin-Map-Budapest> |
85
|
|
|
|
|
|
|
|
86
|
|
|
|
|
|
|
=head1 AUTHOR |
87
|
|
|
|
|
|
|
|
88
|
|
|
|
|
|
|
Erik Carlsson <info@code301.com> |
89
|
|
|
|
|
|
|
|
90
|
|
|
|
|
|
|
=head1 COPYRIGHT AND LICENSE |
91
|
|
|
|
|
|
|
|
92
|
|
|
|
|
|
|
This software is copyright (c) 2016 by Erik Carlsson. |
93
|
|
|
|
|
|
|
|
94
|
|
|
|
|
|
|
This is free software; you can redistribute it and/or modify it under |
95
|
|
|
|
|
|
|
the same terms as the Perl 5 programming language system itself. |
96
|
|
|
|
|
|
|
|
97
|
|
|
|
|
|
|
=cut |