summaryrefslogtreecommitdiff
path: root/ext/Pod-Html
diff options
context:
space:
mode:
authorMax Maischein <corion@corion.net>2021-06-20 18:54:41 +0200
committerJames E Keenan <jkeenan@cpan.org>2021-06-25 09:59:01 -0400
commitc108140682f8d0b0bc5c8b1987fe2a72dde61f42 (patch)
tree9a1f29a5c1a71f590353409fd6bdf3b53896e2d1 /ext/Pod-Html
parent830a95d37441e49ba2b159b1ae187f1f873a1424 (diff)
downloadperl-c108140682f8d0b0bc5c8b1987fe2a72dde61f42.tar.gz
Remove inheritance from Exporter in ext/ modules
Inheriting from Exporter adds several subroutines that are not really needed by these modules. The remaining uses of inheritance from Exporter are: re.pm - this uses export_to_level(), which really, really wants the inheritance # Conflicts: # ext/File-Find/lib/File/Find.pm # ext/File-Glob/Glob.pm # ext/GDBM_File/GDBM_File.pm # ext/Opcode/Opcode.pm # ext/Pod-Html/lib/Pod/Html.pm
Diffstat (limited to 'ext/Pod-Html')
-rw-r--r--ext/Pod-Html/lib/Pod/Html.pm5
1 files changed, 2 insertions, 3 deletions
diff --git a/ext/Pod-Html/lib/Pod/Html.pm b/ext/Pod-Html/lib/Pod/Html.pm
index ba0ab0b39a..cf11f77e29 100644
--- a/ext/Pod-Html/lib/Pod/Html.pm
+++ b/ext/Pod-Html/lib/Pod/Html.pm
@@ -1,9 +1,8 @@
package Pod::Html;
use strict;
-require Exporter;
+use Exporter 'import';
-our $VERSION = 1.27;
-our @ISA = qw(Exporter);
+our $VERSION = 1.28;
our @EXPORT = qw(pod2html htmlify);
our @EXPORT_OK = qw(anchorify relativize_url);