| 1 | package Google::RestApi::Setup; | ||
| 2 | |||
| 3 | 2 | ▶ | use strict; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 4 | 2 | ▶ | use warnings; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 5 | |||
| 6 | 2 | our $VERSION = '2.2.5'; | |
| 7 | |||
| 8 | 2 | ▶ | use parent 'ToolSet'; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 9 | |||
| 10 | 2 | ToolSet->use_pragma('strict'); | |
| 11 | 2 | ToolSet->use_pragma('warnings'); | |
| 12 | 2 | ToolSet->use_pragma(qw( feature state )); | |
| 13 | |||
| 14 | 2 | ToolSet->no_pragma('autovivification'); | |
| 15 | |||
| 16 | 2 | ToolSet->export( | |
| 17 | 'autodie' => [], | ||
| 18 | 'Log::Log4perl' => ':easy', | ||
| 19 | 'namespace::autoclean' => [], | ||
| 20 | 'Type::Params' => 'signature', | ||
| 21 | 'Types::Standard' => 'Undef Defined Value Bool Str StrMatch Int Num ArrayRef HashRef Dict CodeRef Object HasMethods slurpy Any Maybe Optional', | ||
| 22 | 'Types::Common::Numeric' => 'PositiveNum PositiveOrZeroNum PositiveInt PositiveOrZeroInt', | ||
| 23 | 'YAML::Any' => 'Dump', | ||
| 24 | 'Google::RestApi::Utils' => ':all', | ||
| 25 | 'Google::RestApi::Types' => ':all', | ||
| 26 | 'Google::RestApi::SheetsApi4::Types' => ':all', # TODO: really should only be used for spreadsheet code. leave for now. | ||
| 27 | ); | ||
| 28 | |||
| 29 | 2 | 1; | |
| 30 | |||
| 31 | __END__ | ||