Skip Menu |

This queue is for tickets about the Map-Tube-London CPAN distribution.

Report information
The Basics
Id: 100691
Status: resolved
Priority: 0/
Queue: Map-Tube-London

People
Owner: MANWAR [...] cpan.org
Requestors: SREZIC [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: Important
Broken in: 0.12
Fixed in: 0.13



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
Hi, Thanks for raising the issue. I have uploaded the updated code v0.13. Best Regards, Mohammad S Anwar
On 2014-12-04 07:26:36, MANWAR wrote: Show quoted text
> Hi, > > Thanks for raising the issue. I have uploaded the updated code v0.13. > > Best Regards, > Mohammad S Anwar
Thanks.