line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
package Google::RestApi::Setup; |
2
|
|
|
|
|
|
|
|
3
|
1
|
|
|
1
|
|
7
|
use strict; |
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
31
|
|
4
|
1
|
|
|
1
|
|
5
|
use warnings; |
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
44
|
|
5
|
|
|
|
|
|
|
|
6
|
|
|
|
|
|
|
our $VERSION = '1.0.3'; |
7
|
|
|
|
|
|
|
|
8
|
1
|
|
|
1
|
|
6
|
use parent 'ToolSet'; |
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
8
|
|
9
|
|
|
|
|
|
|
|
10
|
|
|
|
|
|
|
ToolSet->use_pragma('strict'); |
11
|
|
|
|
|
|
|
ToolSet->use_pragma('warnings'); |
12
|
|
|
|
|
|
|
ToolSet->use_pragma(qw( feature state )); |
13
|
|
|
|
|
|
|
|
14
|
|
|
|
|
|
|
ToolSet->no_pragma('autovivification'); |
15
|
|
|
|
|
|
|
|
16
|
|
|
|
|
|
|
ToolSet->export( |
17
|
|
|
|
|
|
|
'autodie' => [], |
18
|
|
|
|
|
|
|
'Log::Log4perl' => ':easy', |
19
|
|
|
|
|
|
|
'namespace::autoclean' => [], |
20
|
|
|
|
|
|
|
'Type::Params' => 'compile compile_named multisig validate', |
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
|
|
|
|
|
|
|
1; |
30
|
|
|
|
|
|
|
|
31
|
|
|
|
|
|
|
__END__ |
32
|
|
|
|
|
|
|
|
33
|
|
|
|
|
|
|
=head1 NAME |
34
|
|
|
|
|
|
|
|
35
|
|
|
|
|
|
|
Google::RestApi::Setup.pm - Common set of perl dependencies and imports. |