summaryrefslogtreecommitdiff
path: root/lib/Automake/Getopt.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/Getopt.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/Getopt.pm')
-rw-r--r--lib/Automake/Getopt.pm8
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/Automake/Getopt.pm b/lib/Automake/Getopt.pm
index c6614f2cc..b75981bda 100644
--- a/lib/Automake/Getopt.pm
+++ b/lib/Automake/Getopt.pm
@@ -36,12 +36,12 @@ use warnings FATAL => 'all';
use Carp qw/croak confess/;
use Automake::ChannelDefs qw/fatal/;
-use Exporter ();
+use Exporter 'import';
use Getopt::Long ();
-use vars qw (@ISA @EXPORT);
-@ISA = qw (Exporter);
-@EXPORT= qw/getopt/;
+use vars qw (@EXPORT);
+
+@EXPORT= qw (getopt);
=item C<parse_options (%option)>