line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
11
|
|
|
11
|
|
1080749
|
use Modern::Perl; |
|
11
|
|
|
|
|
71646
|
|
|
11
|
|
|
|
|
58
|
|
2
|
|
|
|
|
|
|
package Renard::Curie::Setup; |
3
|
|
|
|
|
|
|
# ABSTRACT: Packages that can be imported into every module |
4
|
|
|
|
|
|
|
$Renard::Curie::Setup::VERSION = '0.002'; |
5
|
11
|
|
|
11
|
|
6061
|
use autodie; |
|
11
|
|
|
|
|
128842
|
|
|
11
|
|
|
|
|
46
|
|
6
|
|
|
|
|
|
|
|
7
|
11
|
|
|
11
|
|
75651
|
use Import::Into; |
|
11
|
|
|
|
|
22487
|
|
|
11
|
|
|
|
|
254
|
|
8
|
|
|
|
|
|
|
|
9
|
11
|
|
|
11
|
|
6862
|
use Function::Parameters (); |
|
11
|
|
|
|
|
31675
|
|
|
11
|
|
|
|
|
216
|
|
10
|
11
|
|
|
11
|
|
4710
|
use Return::Type (); |
|
11
|
|
|
|
|
736144
|
|
|
11
|
|
|
|
|
261
|
|
11
|
11
|
|
|
11
|
|
5703
|
use MooX::TypeTiny (); |
|
11
|
|
|
|
|
1958
|
|
|
11
|
|
|
|
|
196
|
|
12
|
|
|
|
|
|
|
|
13
|
11
|
|
|
11
|
|
4411
|
use Try::Tiny (); |
|
11
|
|
|
|
|
11697
|
|
|
11
|
|
|
|
|
191
|
|
14
|
11
|
|
|
11
|
|
4609
|
use Renard::Curie::Error (); |
|
11
|
|
|
|
|
32
|
|
|
11
|
|
|
|
|
236
|
|
15
|
|
|
|
|
|
|
|
16
|
11
|
|
|
11
|
|
10469
|
use Path::Tiny (); |
|
11
|
|
|
|
|
94749
|
|
|
11
|
|
|
|
|
1891
|
|
17
|
|
|
|
|
|
|
|
18
|
|
|
|
|
|
|
|
19
|
|
|
|
|
|
|
sub import { |
20
|
46
|
|
|
46
|
|
55531
|
my ($class) = @_; |
21
|
|
|
|
|
|
|
|
22
|
46
|
|
|
|
|
178
|
my $target = caller; |
23
|
|
|
|
|
|
|
|
24
|
46
|
|
|
|
|
1006
|
Modern::Perl->import::into( $target ); |
25
|
46
|
|
|
|
|
13108
|
autodie->import::into( $target ); |
26
|
|
|
|
|
|
|
|
27
|
46
|
|
|
0
|
|
238903
|
my %type_tiny_fp_check = ( reify_type => sub { Type::Utils::dwim_type($_[0]) }, ); |
|
0
|
|
|
|
|
0
|
|
28
|
46
|
|
|
|
|
660
|
Function::Parameters->import::into( $target, |
29
|
|
|
|
|
|
|
{ |
30
|
|
|
|
|
|
|
fun => { defaults => 'function_lax' , %type_tiny_fp_check }, |
31
|
|
|
|
|
|
|
classmethod => { defaults => 'classmethod_lax', %type_tiny_fp_check }, |
32
|
|
|
|
|
|
|
method => { defaults => 'method_lax' , %type_tiny_fp_check }, |
33
|
|
|
|
|
|
|
callback => { defaults => 'function_lax' , %type_tiny_fp_check, check_argument_count => 0 }, |
34
|
|
|
|
|
|
|
} |
35
|
|
|
|
|
|
|
); |
36
|
46
|
|
|
|
|
46060
|
Return::Type->import::into( $target ); |
37
|
|
|
|
|
|
|
|
38
|
46
|
|
|
|
|
8507
|
Try::Tiny->import::into( $target ); |
39
|
46
|
|
|
|
|
9182
|
Renard::Curie::Error->import::into( $target ); |
40
|
|
|
|
|
|
|
|
41
|
46
|
|
|
|
|
7864
|
Path::Tiny->import::into( $target ); |
42
|
|
|
|
|
|
|
|
43
|
46
|
|
|
|
|
9754
|
return; |
44
|
|
|
|
|
|
|
} |
45
|
|
|
|
|
|
|
|
46
|
|
|
|
|
|
|
1; |
47
|
|
|
|
|
|
|
|
48
|
|
|
|
|
|
|
__END__ |
49
|
|
|
|
|
|
|
|
50
|
|
|
|
|
|
|
=pod |
51
|
|
|
|
|
|
|
|
52
|
|
|
|
|
|
|
=encoding UTF-8 |
53
|
|
|
|
|
|
|
|
54
|
|
|
|
|
|
|
=head1 NAME |
55
|
|
|
|
|
|
|
|
56
|
|
|
|
|
|
|
Renard::Curie::Setup - Packages that can be imported into every module |
57
|
|
|
|
|
|
|
|
58
|
|
|
|
|
|
|
=head1 VERSION |
59
|
|
|
|
|
|
|
|
60
|
|
|
|
|
|
|
version 0.002 |
61
|
|
|
|
|
|
|
|
62
|
|
|
|
|
|
|
=head1 AUTHOR |
63
|
|
|
|
|
|
|
|
64
|
|
|
|
|
|
|
Project Renard |
65
|
|
|
|
|
|
|
|
66
|
|
|
|
|
|
|
=head1 COPYRIGHT AND LICENSE |
67
|
|
|
|
|
|
|
|
68
|
|
|
|
|
|
|
This software is copyright (c) 2016 by Project Renard. |
69
|
|
|
|
|
|
|
|
70
|
|
|
|
|
|
|
This is free software; you can redistribute it and/or modify it under |
71
|
|
|
|
|
|
|
the same terms as the Perl 5 programming language system itself. |
72
|
|
|
|
|
|
|
|
73
|
|
|
|
|
|
|
=cut |