Subject: | Node names cannot be case *sensitive* |
The documentation states that node names in the get_shortest_route() method may be case insensitive. But it does not seem that this is true. With latest Map::Tube and Map::Tube::London:
$ perl -MMap::Tube::London -E '$t = Map::Tube::London->new; say $t->get_shortest_route("Baker Street", "Farringdon")'
Baker Street (Circle,Hammersmith & City,Bakerloo,Metropolitan,Jubilee), Great Portland Street (Circle,Hammersmith & City,Metropolitan), Euston Square (Circle,Hammersmith & City,Metropolitan), King's Cross St. Pancras (Circle,Hammersmith & City,Victoria,Metropolitan,Piccadilly), Farringdon (Circle,Hammersmith & City,Metropolitan)
$ perl -MMap::Tube::London -E '$t = Map::Tube::London->new; say $t->get_shortest_route("baker street", "farringdon")'
Map::Tube::get_shortest_route(): ERROR: Received invalid FROM node 'baker street' (status: 101) file /usr/perl5.18.4p/lib/site_perl/5.18.4/Map/Tube.pm on line 84