line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
6
|
|
|
6
|
|
15771
|
use strict; |
|
6
|
|
|
|
|
10
|
|
|
6
|
|
|
|
|
204
|
|
2
|
6
|
|
|
6
|
|
48
|
use warnings; |
|
6
|
|
|
|
|
7
|
|
|
6
|
|
|
|
|
272
|
|
3
|
|
|
|
|
|
|
|
4
|
|
|
|
|
|
|
package Tiny::OpenSSL::Config; |
5
|
|
|
|
|
|
|
|
6
|
|
|
|
|
|
|
# ABSTRACT: Load default Tiny::OpenSSL configuration |
7
|
|
|
|
|
|
|
our $VERSION = '0.1.2'; # VERSION |
8
|
|
|
|
|
|
|
|
9
|
6
|
|
|
6
|
|
3488
|
use YAML::Tiny; |
|
6
|
|
|
|
|
28831
|
|
|
6
|
|
|
|
|
375
|
|
10
|
6
|
|
|
6
|
|
3013
|
use File::ShareDir qw(dist_file); |
|
6
|
|
|
|
|
31197
|
|
|
6
|
|
|
|
|
545
|
|
11
|
|
|
|
|
|
|
|
12
|
|
|
|
|
|
|
local $YAML::UseCode = 0 if !defined $YAML::UseCode; |
13
|
|
|
|
|
|
|
local $YAML::LoadCode = 0 if !defined $YAML::LoadCode; |
14
|
|
|
|
|
|
|
|
15
|
6
|
|
|
6
|
|
39
|
use base qw(Exporter); |
|
6
|
|
|
|
|
8
|
|
|
6
|
|
|
|
|
867
|
|
16
|
|
|
|
|
|
|
|
17
|
|
|
|
|
|
|
our @EXPORT = qw( $CONFIG ); |
18
|
|
|
|
|
|
|
|
19
|
|
|
|
|
|
|
my $yaml = YAML::Tiny->read(dist_file 'Tiny-OpenSSL', 'config.yml'); |
20
|
|
|
|
|
|
|
|
21
|
|
|
|
|
|
|
our $CONFIG = $yaml->[0]; |
22
|
|
|
|
|
|
|
|
23
|
|
|
|
|
|
|
$CONFIG->{openssl} = 'openssl'; |
24
|
|
|
|
|
|
|
|
25
|
|
|
|
|
|
|
1; |
26
|
|
|
|
|
|
|
|
27
|
|
|
|
|
|
|
__END__ |