Subject: | london-map.xml Not Installed with cpanm |
Date: | Fri, 1 Aug 2014 16:48:40 +0100 |
To: | bug-Map-Tube-London [...] rt.cpan.org |
From: | Smylers <Smylers [...] stripey.com> |
I successfully installed this module with:
$ cpanm Map::Tube::London
However, this hasn't installed london-map.xml anywhere, so attempting to
use the module for anything fails with:
$ perl -wMMap::Tube::London -E 'Map::Tube::London->new->get_shortest_route(@ARGV)' 'Baker Street' 'Farringdon'
File does not exist: london-map.xml at /usr/local/share/perl/5.18.2/Map/Tube.pm line 102.
And manually copying london-map.xml into to the directory containing
London.pm, /usr/local/share/perl/5.18.2/Map/Tube/, still gives that same
error message.
If I copy london-map.xml to my current directory then it works. If
that's the intended mode of operation, then please document it as such.
Otherwise, it'd be good if london-map.xml were installed when the module
does, and to a location where the module can find it.
Cheers
Smylers
--
Girls don't wear their shoes out, and boys don't care about style?
Clarks think so: http://j.mp/clarksgirlboyposters
Disagree? Don't want shops promoting gender stereotypes to children?
Please sign the petition: http://j.mp/clarksgirlboypetition