NAME

Map::Metro::Shim - Easily load a map file

SYNOPSIS

use Map::Metro::Shim;

my $graph = Map::Metro::Shim->new('../path/to/mapfile.txt')->parse;

DESCRIPTION

If you want to test a map file without creating a module, use this class instead of Map::Metro and pass the path to the map file.

Methods

new($filepath)

$filepath

The path to the map file.

Apart from that this module works just like Map::Metro.

AUTHOR

Erik Carlsson <info@code301.com>

COPYRIGHT

Copyright 2014 - Erik Carlsson

LICENSE

This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.