line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
6
|
|
|
6
|
|
13893
|
use strict; |
|
6
|
|
|
|
|
10
|
|
|
6
|
|
|
|
|
247
|
|
2
|
6
|
|
|
6
|
|
69
|
use warnings; |
|
6
|
|
|
|
|
6
|
|
|
6
|
|
|
|
|
342
|
|
3
|
|
|
|
|
|
|
|
4
|
|
|
|
|
|
|
package Tiny::OpenSSL::Config; |
5
|
|
|
|
|
|
|
|
6
|
|
|
|
|
|
|
# ABSTRACT: Load default Tiny::OpenSSL configuration |
7
|
|
|
|
|
|
|
our $VERSION = '0.1.1'; # VERSION |
8
|
|
|
|
|
|
|
|
9
|
6
|
|
|
6
|
|
2852359
|
use YAML::Tiny; |
|
6
|
|
|
|
|
37453
|
|
|
6
|
|
|
|
|
422
|
|
10
|
6
|
|
|
6
|
|
348578
|
use File::ShareDir qw(dist_file); |
|
6
|
|
|
|
|
709197
|
|
|
6
|
|
|
|
|
569
|
|
11
|
|
|
|
|
|
|
|
12
|
|
|
|
|
|
|
local $YAML::UseCode = 0 if !defined $YAML::UseCode; |
13
|
|
|
|
|
|
|
local $YAML::LoadCode = 0 if !defined $YAML::LoadCode; |
14
|
|
|
|
|
|
|
|
15
|
6
|
|
|
6
|
|
41
|
use base qw(Exporter); |
|
6
|
|
|
|
|
9
|
|
|
6
|
|
|
|
|
875
|
|
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__ |