| 1 | 22 | ▶ | use 5.10.0; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 2 | 22 | ▶ | use strict; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 3 | 22 | ▶ | use warnings; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 4 | |||
| 5 | package Map::Metro::Types; | ||
| 6 | |||
| 7 | # ABSTRACT: Type library for Map::Metro | ||
| 8 | 22 | our $AUTHORITY = 'cpan:CSSON'; # AUTHORITY | |
| 9 | 22 | our $VERSION = '0.2405'; | |
| 10 | |||
| 11 | 22 | ▶ | use namespace::autoclean; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 12 | |||
| 13 | use Type::Library | ||
| 14 | 22 | ▶ | -base, |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 15 | -declare => qw/ | ||
| 16 | Connection | ||
| 17 | Line | ||
| 18 | LineStation | ||
| 19 | Route | ||
| 20 | Routing | ||
| 21 | Segment | ||
| 22 | Station | ||
| 23 | Step | ||
| 24 | Transfer | ||
| 25 | 22 | /; | |
| 26 | |||
| 27 | 22 | ▶ | use Type::Utils -all; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 28 | |||
| 29 | 22 | class_type Connection => { class => 'Map::Metro::Graph::Connection' }; | |
| 30 | 22 | class_type Line => { class => 'Map::Metro::Graph::Line' }; | |
| 31 | 22 | class_type LineStation => { class => 'Map::Metro::Graph::LineStation' }; | |
| 32 | 22 | class_type Route => { class => 'Map::Metro::Graph::Route' }; | |
| 33 | 22 | class_type Routing => { class => 'Map::Metro::Graph::Routing' }; | |
| 34 | 22 | class_type Segment => { class => 'Map::Metro::Graph::Segment' }; | |
| 35 | 22 | class_type Station => { class => 'Map::Metro::Graph::Station' }; | |
| 36 | 22 | class_type Step => { class => 'Map::Metro::Graph::Step' }; | |
| 37 | 22 | class_type Transfer => { class => 'Map::Metro::Graph::Transfer' }; | |
| 38 | |||
| 39 | 22 | 1; | |
| 40 | |||
| 41 | __END__ | ||