Map::Tube::Hongkong - Interface to the Hong Kong MTR map.
version 0.04.1
It currently provides functionality to find the shortest route between the two given stations.
use Map::Tube::Hongkong; my $tube = Map::Tube::Hongkong->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::Hongkong; my $tube = Map::Tube::Hongkong->new; my $route = $tube->get_shortest_route('Yau Ma Tei', 'Mei Foo'); print "Route: $route\n";
Provide support for station names in Chinese.
Maybe something look like:
my $route = $tube->get_shortest_route('油麻地', '美孚')->name_alt;
Map::Tube.
https://github.com/E7-87-83/Map-Tube-Hongkong
FUNG Cheok Yin <fungcheokyin@gmail.com>
Mohammad S Anwar <mohammad.anwar@yahoo.com>
This is free software, licensed under: The Artistic License 2.0 (GPL Compatible)
To install Map::Tube::Hongkong, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Map::Tube::Hongkong
CPAN shell
perl -MCPAN -e shell install Map::Tube::Hongkong
For more information on module installation, please visit the detailed CPAN module installation guide.