summaryrefslogtreecommitdiff
path: root/lib/Automake/LangHandling.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/LangHandling.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/LangHandling.pm')
-rw-r--r--lib/Automake/LangHandling.pm6
1 files changed, 2 insertions, 4 deletions
diff --git a/lib/Automake/LangHandling.pm b/lib/Automake/LangHandling.pm
index bfbbb003c..8d1a8bad7 100644
--- a/lib/Automake/LangHandling.pm
+++ b/lib/Automake/LangHandling.pm
@@ -28,12 +28,10 @@ use Automake::Utils;
use Automake::Variable;
use Automake::VarDef;
use Automake::Wrap qw (makefile_wrap);
-use Exporter;
+use Exporter 'import';
use File::Basename;
-use vars '@ISA', '@EXPORT';
-
-@ISA = qw (Exporter);
+use vars qw (@EXPORT);
@EXPORT = qw (check_user_variables lang_sub_obj lang_header_rewrite
lang_vala_rewrite lang_yacc_rewrite lang_yaccxx_rewrite