The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

NAME

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

VERSION

Version 0.2405, released 2016-07-23.

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.

SEE ALSO

Map::Metro

SOURCE

https://github.com/Csson/p5-Map-Metro

HOMEPAGE

https://metacpan.org/release/Map-Metro

AUTHOR

Erik Carlsson <info@code301.com>

COPYRIGHT AND LICENSE

This software is copyright (c) 2016 by Erik Carlsson.

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