summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZack Weinberg <zackw@panix.com>2020-08-31 11:28:41 -0400
committerZack Weinberg <zackw@panix.com>2020-08-31 13:15:45 -0400
commitc14739e7c6e5906197b704af91152cbc0a8ab38b (patch)
treed19637d6d3202f4e6b9864fef446c537a1de0ed6
parent6d5e6ba9043df651fd1b1572ea1430c4269b091d (diff)
downloadautoconf-c14739e7c6e5906197b704af91152cbc0a8ab38b.tar.gz
Autom4te::XFile: Remove unnecessary imports.
Autom4te::XFile does not appear to have any use for Carp, DynaLoader, or File::Basename. This happened to catch my eye while I was doing the previous two patches. I have not done a comprehensive audit of imports in the Perl code. * lib/Autom4te/XFile.pm: Remove ‘use’s of Carp, DynaLoader, and File::Basename. (@ISA): Remove DynaLoader.
-rw-r--r--lib/Autom4te/XFile.pm5
1 files changed, 1 insertions, 4 deletions
diff --git a/lib/Autom4te/XFile.pm b/lib/Autom4te/XFile.pm
index 8a49ac1a..f858593f 100644
--- a/lib/Autom4te/XFile.pm
+++ b/lib/Autom4te/XFile.pm
@@ -73,11 +73,8 @@ use 5.006;
use strict;
use warnings;
-use Carp;
-use DynaLoader;
use Errno;
use Exporter;
-use File::Basename;
use IO::File;
use Autom4te::ChannelDefs;
@@ -85,7 +82,7 @@ use Autom4te::Channels qw (msg);
use Autom4te::FileUtils;
use vars qw ($AUTOLOAD @EXPORT @EXPORT_OK @ISA $VERSION);
-@ISA = qw (DynaLoader Exporter IO::File);
+@ISA = qw (Exporter IO::File);
@EXPORT = @IO::File::EXPORT;
$VERSION = "1.2";