| 1 | # -*- perl -*- | ||
| 2 | |||
| 3 | # | ||
| 4 | # Author: Slaven Rezic | ||
| 5 | # | ||
| 6 | # Copyright (C) 2014,2015,2017,2018,2019,2020,2021,2023,2024,2025,2026 Slaven Rezic. All rights reserved. | ||
| 7 | # This package is free software; you can redistribute it and/or | ||
| 8 | # modify it under the same terms as Perl itself. | ||
| 9 | # | ||
| 10 | # WWW: https://github.com/eserte/Map-Metro-Plugin-Map-Berlin | ||
| 11 | # | ||
| 12 | |||
| 13 | { | ||
| 14 | 1 | package Map::Metro::Plugin::Map::Berlin; | |
| 15 | |||
| 16 | 1 | our $VERSION = '2026.0615'; | |
| 17 | |||
| 18 | 1 | ▶ | use Moose; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 19 | 1 | ▶ | use File::ShareDir 'dist_dir'; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 20 | 1 | ▶ | use Path::Tiny; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 21 | 1 | with 'Map::Metro::Plugin::Map'; | |
| 22 | |||
| 23 | has '+mapfile' => ( | ||
| 24 | 1 | ▶ | default => sub { path(dist_dir('Map-Metro-Plugin-Map-Berlin'))->child('map-berlin.metro')->absolute }, |
|
Subroutine
__ANON__: called CC=1 SCAR=0.0
| |||
| 25 | 1 | ); | |
| 26 | } | ||
| 27 | |||
| 28 | 1 | 1; | |
| 29 | |||
| 30 | __END__ | ||