line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
package Net::ACME::X::HTTP::Network; |
2
|
|
|
|
|
|
|
|
3
|
2
|
|
|
2
|
|
7
|
use strict; |
|
2
|
|
|
|
|
2
|
|
|
2
|
|
|
|
|
45
|
|
4
|
2
|
|
|
2
|
|
6
|
use warnings; |
|
2
|
|
|
|
|
2
|
|
|
2
|
|
|
|
|
44
|
|
5
|
|
|
|
|
|
|
|
6
|
2
|
|
|
2
|
|
6
|
use parent qw( Net::ACME::X::HashBase ); |
|
2
|
|
|
|
|
2
|
|
|
2
|
|
|
|
|
6
|
|
7
|
|
|
|
|
|
|
|
8
|
|
|
|
|
|
|
#named args required: |
9
|
|
|
|
|
|
|
# |
10
|
|
|
|
|
|
|
# error |
11
|
|
|
|
|
|
|
# method |
12
|
|
|
|
|
|
|
# url |
13
|
|
|
|
|
|
|
# |
14
|
|
|
|
|
|
|
sub new { |
15
|
2
|
|
|
2
|
0
|
3
|
my ( $self, $args_hr ) = @_; |
16
|
|
|
|
|
|
|
|
17
|
2
|
|
|
|
|
20
|
return $self->SUPER::new( |
18
|
|
|
|
|
|
|
"The system failed to send an HTTP “$args_hr->{'method'}” request to “$args_hr->{'url'}” because of an error: $args_hr->{'error'}", |
19
|
|
|
|
|
|
|
$args_hr, |
20
|
|
|
|
|
|
|
); |
21
|
|
|
|
|
|
|
} |
22
|
|
|
|
|
|
|
|
23
|
|
|
|
|
|
|
1; |