Map::Tube::Frankfurt - Map::Tube::Frankfurt - interface to the Frankfurt S- and U-Bahn map
version 0.04
It currently provides functionality to find the shortest route between the two given stations. The map contains both U-Bahn and S-Bahn stations.
use Map::Tube::Frankfurt;
my $tube = Map::Tube::Frankfurt->new;
This method expects two parameters START and END station name. Station names are case insensitive. The station sequence from START to END is returned.
use Map::Tube::Frankfurt;
my $tube = Map::Tube::Frankfurt->new;
my $route = $tube->get_shortest_route('Riedstadt-Goddelau', 'Hauptbahnhof');
print "Route: $route\n";
The distribution is contained in a Git repository, so simply clone the repository
$ git clone http://github.com/reneeb/Map-Tube-Frankfurt.git
and change into the newly-created directory.
$ cd Map-Tube-Frankfurt
The project uses Dist::Zilla
to
build the distribution, hence this will need to be installed before
continuing:
$ cpanm Dist::Zilla
To install the required prequisite packages, run the following set of commands:
$ dzil authordeps --missing | cpanm
$ dzil listdeps --author --missing | cpanm
The distribution can be tested like so:
$ dzil test
To run the full set of tests (including author and release-process tests),
add the --author
and --release
options:
$ dzil test --author --release
Renee Baecker <reneeb@cpan.org>
This software is Copyright (c) 2018 by Renee Baecker.
This is free software, licensed under:
The Artistic License 2.0 (GPL Compatible)
- Mohammad S Anwar <mohammad.anwar@yahoo.com>
- reneeb <info@perl-services.de>
- Stefan Limbacher <stefan@stelim.de>