| 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.2404'; | |
| 10 | |||
| 11 | 22 | ▶ | use namespace::autoclean; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 12 | |||
| 13 | use Type::Library | ||
| 14 | 22 | -base, | |
| 15 | -declare => qw/ | ||
| 16 | Connection | ||
| 17 | Line | ||
| 18 | LineStation | ||
| 19 | Route | ||
| 20 | Routing | ||
| 21 | Segment | ||
| 22 | Station | ||
| 23 | Step | ||
| 24 | Transfer | ||
| 25 | 22 | ▶ | /; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 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__ | ||
| 42 | |||
| 43 | =pod | ||
| 44 | |||
| 45 | =encoding UTF-8 | ||
| 46 | |||
| 47 | =head1 NAME | ||
| 48 | |||
| 49 | Map::Metro::Types - Type library for Map::Metro | ||
| 50 | |||
| 51 | =head1 VERSION | ||
| 52 | |||
| 53 | Version 0.2404, released 2016-04-30. | ||
| 54 | |||
| 55 | =head1 SOURCE | ||
| 56 | |||
| 57 | L<https://github.com/Csson/p5-Map-Metro> | ||
| 58 | |||
| 59 | =head1 HOMEPAGE | ||
| 60 | |||
| 61 | L<https://metacpan.org/release/Map-Metro> | ||
| 62 | |||
| 63 | =head1 AUTHOR | ||
| 64 | |||
| 65 | Erik Carlsson <info@code301.com> | ||
| 66 | |||
| 67 | =head1 COPYRIGHT AND LICENSE | ||
| 68 | |||
| 69 | This software is copyright (c) 2016 by Erik Carlsson. | ||
| 70 | |||
| 71 | This is free software; you can redistribute it and/or modify it under | ||
| 72 | the same terms as the Perl 5 programming language system itself. | ||
| 73 | |||
| 74 | =cut | ||