summaryrefslogtreecommitdiff
path: root/ext/Errno
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/Errno
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/Errno')
-rw-r--r--ext/Errno/Errno_pm.PL5
1 files changed, 2 insertions, 3 deletions
diff --git a/ext/Errno/Errno_pm.PL b/ext/Errno/Errno_pm.PL
index 0b9d4c72a3..c32b4412e7 100644
--- a/ext/Errno/Errno_pm.PL
+++ b/ext/Errno/Errno_pm.PL
@@ -2,7 +2,7 @@ use ExtUtils::MakeMaker;
use Config;
use strict;
-our $VERSION = "1.33";
+our $VERSION = "1.34";
my %err = ();
@@ -284,7 +284,7 @@ sub write_errno_pm {
#
package Errno;
-require Exporter;
+use Exporter 'import';
use strict;
EDQ
@@ -305,7 +305,6 @@ CONFIG_CHECK_END
print <<"EDQ";
our \$VERSION = "$VERSION";
\$VERSION = eval \$VERSION;
-our \@ISA = 'Exporter';
my %err;