| 1 | package CodeGen::Protection::Types; | ||
| 2 | |||
| 3 | # ABSTRACT: Keep our type tools orgnanized | ||
| 4 | |||
| 5 | 6 | ▶ | use strict; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 6 | 6 | ▶ | use warnings; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 7 | 6 | ▶ | use Type::Library -base; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 8 | |||
| 9 | 6 | ▶ | use Type::Utils -all; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 10 | |||
| 11 | # this gets us compile and compile_named | ||
| 12 | 6 | ▶ | use Type::Params; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 13 | |||
| 14 | 6 | our $VERSION = '0.06'; | |
| 15 | |||
| 16 | 6 | our @EXPORT_OK; | |
| 17 | |||
| 18 | 6 | ▶ | BEGIN { |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 19 | 6 | extends qw( | |
| 20 | Types::Standard | ||
| 21 | Types::Common::Numeric | ||
| 22 | Types::Common::String | ||
| 23 | ); | ||
| 24 | 6 | push @EXPORT_OK => ( | |
| 25 | 'compile', # from Type::Params | ||
| 26 | 'compile_named', # from Type::Params | ||
| 27 | ); | ||
| 28 | } | ||
| 29 | |||
| 30 | 6 | 1; | |
| 31 | |||
| 32 | __END__ | ||