Skip to content

Commit c84f9c8

Browse files
mtsanovvoalders
authored andcommitted
Get rid of legacy inheritance
1 parent 3e233b5 commit c84f9c8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/LWP/Protocol/https.pm

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ use warnings;
55

66
our $VERSION = '6.14';
77

8-
use base qw(LWP::Protocol::http);
8+
use parent qw(LWP::Protocol::http);
99
require Net::HTTPS;
1010

1111
sub socket_type
@@ -112,7 +112,7 @@ if ( $Net::HTTPS::SSL_SOCKET_CLASS->can('start_SSL')) {
112112
#-----------------------------------------------------------
113113
package LWP::Protocol::https::Socket;
114114

115-
use base qw(Net::HTTPS LWP::Protocol::http::SocketMethods);
115+
use parent -norequire, qw(Net::HTTPS LWP::Protocol::http::SocketMethods);
116116

117117
1;
118118

0 commit comments

Comments
 (0)