summaryrefslogtreecommitdiff
path: root/ext/B
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/B
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/B')
-rw-r--r--ext/B/B/Concise.pm5
1 files changed, 2 insertions, 3 deletions
diff --git a/ext/B/B/Concise.pm b/ext/B/B/Concise.pm
index 729fcd95f4..0bb68a6c4b 100644
--- a/ext/B/B/Concise.pm
+++ b/ext/B/B/Concise.pm
@@ -12,10 +12,9 @@ package B::Concise;
use strict; # use #2
use warnings; # uses #3 and #4, since warnings uses Carp
-use Exporter (); # use #5
+use Exporter 'import'; # use #5
-our $VERSION = "1.004";
-our @ISA = qw(Exporter);
+our $VERSION = "1.005";
our @EXPORT_OK = qw( set_style set_style_standard add_callback
concise_subref concise_cv concise_main
add_style walk_output compile reset_sequence );