diff options
author | Matthias Paulmier <matthias.paulmier@etu.u-bordeaux.fr> | 2018-06-22 15:42:17 +0200 |
---|---|---|
committer | Matthias Paulmier <matthias.paulmier@etu.u-bordeaux.fr> | 2018-06-22 15:42:17 +0200 |
commit | 0e457a7739be363646336086dbf7b78382e8b6dd (patch) | |
tree | a95a9342f38420a5f13c7d163543b76f87874afa /lib/Automake/Getopt.pm | |
parent | b46a00b456e3091dcf72ab072ae136b9d73833ea (diff) | |
download | automake-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.pm | 8 |
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)> |