summaryrefslogtreecommitdiff
path: root/scripts/Dpkg.pm
diff options
context:
space:
mode:
authorGuillem Jover <guillem@debian.org>2013-01-05 03:44:46 +0100
committerGuillem Jover <guillem@debian.org>2013-06-22 05:14:37 +0200
commite54df633c60ed89dc9fed2c43b1ad6d07f439fc9 (patch)
tree5cab2b90c68a3a681db6675810023ee2db717a34 /scripts/Dpkg.pm
parentb8a0dbd784a9e838c3e6735d51bf76a61a63d8e4 (diff)
downloaddpkg-e54df633c60ed89dc9fed2c43b1ad6d07f439fc9.tar.gz
scripts: Do not inherit from Exporter just import its import
Do not use base which is bloated, and we don't need any other of Exporter's inherited methods anyway.
Diffstat (limited to 'scripts/Dpkg.pm')
-rw-r--r--scripts/Dpkg.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/Dpkg.pm b/scripts/Dpkg.pm
index 660e031ea..bacfb5c9f 100644
--- a/scripts/Dpkg.pm
+++ b/scripts/Dpkg.pm
@@ -18,7 +18,7 @@ use warnings;
our $VERSION = '1.01';
-use base qw(Exporter);
+use Exporter qw(import);
our @EXPORT_OK = qw($PROGNAME $PROGVERSION $CONFDIR $ADMINDIR $LIBDIR $DATADIR);
our @EXPORT = qw($version $progname $admindir $dpkglibdir $pkgdatadir);