line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
7
|
|
|
7
|
|
19993
|
use strict; |
|
7
|
|
|
|
|
12
|
|
|
7
|
|
|
|
|
188
|
|
2
|
7
|
|
|
7
|
|
36
|
use warnings; |
|
7
|
|
|
|
|
14
|
|
|
7
|
|
|
|
|
424
|
|
3
|
|
|
|
|
|
|
|
4
|
|
|
|
|
|
|
package Tiny::OpenSSL::Config; |
5
|
|
|
|
|
|
|
|
6
|
|
|
|
|
|
|
# ABSTRACT: Load default Tiny::OpenSSL configuration |
7
|
|
|
|
|
|
|
our $VERSION = '0.1.3'; # VERSION |
8
|
|
|
|
|
|
|
|
9
|
7
|
|
|
7
|
|
5919
|
use YAML::Tiny; |
|
7
|
|
|
|
|
39369
|
|
|
7
|
|
|
|
|
468
|
|
10
|
7
|
|
|
7
|
|
5789
|
use File::ShareDir qw(dist_file); |
|
7
|
|
|
|
|
45821
|
|
|
7
|
|
|
|
|
686
|
|
11
|
|
|
|
|
|
|
|
12
|
|
|
|
|
|
|
local $YAML::UseCode = 0 if !defined $YAML::UseCode; |
13
|
|
|
|
|
|
|
local $YAML::LoadCode = 0 if !defined $YAML::LoadCode; |
14
|
|
|
|
|
|
|
|
15
|
7
|
|
|
7
|
|
52
|
use base qw(Exporter); |
|
7
|
|
|
|
|
15
|
|
|
7
|
|
|
|
|
1114
|
|
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__ |