Skip to content

Commit feeb264

Browse files
author
Marek Rouchal
committed
fix Github #17
1 parent 080d6f0 commit feeb264

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

Changes

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
2.04 2025-03-25
44

55
- merged three pull requests, removing the internal Pod::PlainText
6+
- fixed Github: Relies on formatter to inherit from Exporter #17
67

78

89
2.03 2022-05-21

lib/Pod/Usage.pm

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ require 5.006; ## requires this Perl version or later
1515

1616
use Carp;
1717
use Config;
18-
use Exporter;
18+
use Exporter qw(import);
1919
use File::Spec;
2020

2121
our $VERSION = '2.04';
@@ -26,7 +26,7 @@ BEGIN {
2626
$Pod::Usage::Formatter ||= 'Pod::Text';
2727
eval "require $Pod::Usage::Formatter";
2828
die $@ if $@;
29-
@ISA = ( $Pod::Usage::Formatter );
29+
@ISA = ( $Pod::Usage::Formatter, 'Exporter' );
3030
}
3131

3232
our $MAX_HEADING_LEVEL = 3;

0 commit comments

Comments
 (0)