summaryrefslogtreecommitdiff
path: root/lib/Automake/Condition.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/Condition.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/Condition.pm')
-rw-r--r--lib/Automake/Condition.pm7
1 files changed, 4 insertions, 3 deletions
diff --git a/lib/Automake/Condition.pm b/lib/Automake/Condition.pm
index c028c24fe..ab88790e4 100644
--- a/lib/Automake/Condition.pm
+++ b/lib/Automake/Condition.pm
@@ -19,9 +19,10 @@ use 5.006;
use strict;
use Carp;
-require Exporter;
-use vars '@ISA', '@EXPORT_OK';
-@ISA = qw/Exporter/;
+use Exporter 'import';
+
+use vars qw (@EXPORT_OK);
+
@EXPORT_OK = qw/TRUE FALSE reduce_and reduce_or/;
=head1 NAME