summaryrefslogtreecommitdiff
path: root/lib/Automake/Options.pm
diff options
context:
space:
mode:
authorMatthias Paulmier <matthias.paulmier@etu.u-bordeaux.fr>2018-06-22 15:42:17 +0200
committerMatthias Paulmier <matthias.paulmier@etu.u-bordeaux.fr>2018-06-22 15:42:17 +0200
commit0e457a7739be363646336086dbf7b78382e8b6dd (patch)
treea95a9342f38420a5f13c7d163543b76f87874afa /lib/Automake/Options.pm
parentb46a00b456e3091dcf72ab072ae136b9d73833ea (diff)
downloadautomake-0e457a7739be363646336086dbf7b78382e8b6dd.tar.gz
lib: Harmonize Exporter package usage
Now the modules don't inherit Exporter anymore. We just get the import method from it since it is the only method that interests us.
Diffstat (limited to 'lib/Automake/Options.pm')
-rw-r--r--lib/Automake/Options.pm5
1 files changed, 2 insertions, 3 deletions
diff --git a/lib/Automake/Options.pm b/lib/Automake/Options.pm
index ce123d629..210902959 100644
--- a/lib/Automake/Options.pm
+++ b/lib/Automake/Options.pm
@@ -22,11 +22,10 @@ use Automake::ChannelDefs;
use Automake::Channels;
use Automake::Config;
use Automake::Version;
-use Exporter;
+use Exporter 'import';
-use vars qw (@ISA @EXPORT);
+use vars qw (@EXPORT);
-@ISA = qw (Exporter);
@EXPORT = qw (option global_option
set_option set_global_option
unset_option unset_global_option