NAME
Map::Tube::Hongkong - Interface to the Hong Kong MTR map.
VERSION
version 0.04.1
DESCRIPTION
It currently provides functionality to find the shortest route between the two given stations.
CONSTRUCTOR
use Map::Tube::Hongkong;
my $tube = Map::Tube::Hongkong->new;
METHODS
get_shortest_route(START, END)
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::Hongkong;
my $tube = Map::Tube::Hongkong->new;
my $route = $tube->get_shortest_route('Yau Ma Tei', 'Mei Foo');
print "Route: $route\n";
BUGS/TODOS
Provide support for station names in Chinese.
Maybe something look like:
my $route = $tube->get_shortest_route('油麻地', '美孚')->name_alt;
SEE ALSO
REPOSITORY
https://github.com/E7-87-83/Map-Tube-Hongkong
AUTHOR
FUNG Cheok Yin <fungcheokyin@gmail.com>
CONTRIBUTORS
Mohammad S Anwar <mohammad.anwar@yahoo.com>
FUNG Cheok Yin <fungcheokyin@gmail.com>
COPYRIGHT AND LICENSE
This is free software, licensed under: The Artistic License 2.0 (GPL Compatible)