Skip to content

Commit

Permalink
Get rid of legacy inheritance
Browse files Browse the repository at this point in the history
  • Loading branch information
mtsanovv authored and oalders committed Mar 11, 2024
1 parent 3e233b5 commit c84f9c8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/LWP/Protocol/https.pm
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ use warnings;

our $VERSION = '6.14';

use base qw(LWP::Protocol::http);
use parent qw(LWP::Protocol::http);
require Net::HTTPS;

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

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

1;

Expand Down

0 comments on commit c84f9c8

Please sign in to comment.