Skip to content

Commit fb40d11

Browse files
Max Maischeinoalders
authored andcommitted
Don't inherit from Exporter anymore
This might break some arcane usages like HTTP::Status->import_to_level() that weren't documented usage anyway
1 parent 8468a30 commit fb40d11

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

lib/HTTP/Headers/Util.pm

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ use warnings;
55

66
our $VERSION = '6.30';
77

8-
use base 'Exporter';
8+
use Exporter 5.57 'import';
99

1010
our @EXPORT_OK=qw(split_header_words _split_header_words join_header_words);
1111

lib/HTTP/Status.pm

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,9 @@ use warnings;
55

66
our $VERSION = '6.30';
77

8+
use Exporter 5.57 'import';
89
require 5.002; # because we use prototypes
910

10-
use base 'Exporter';
1111
our @EXPORT = qw(is_info is_success is_redirect is_error status_message);
1212
our @EXPORT_OK = qw(is_client_error is_server_error is_cacheable_by_default);
1313

0 commit comments

Comments
 (0)