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/File.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/File.pm')
-rw-r--r-- | lib/Automake/File.pm | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/lib/Automake/File.pm b/lib/Automake/File.pm index 89cc4776e..a9ba70b21 100644 --- a/lib/Automake/File.pm +++ b/lib/Automake/File.pm @@ -30,11 +30,10 @@ use Automake::RuleDef; use Automake::Utils; use Automake::VarDef; use Automake::Variable; -use Exporter; +use Exporter 'import'; -use vars qw (@ISA @EXPORT); +use vars qw (@EXPORT); -@ISA = qw (Exporter); @EXPORT = qw (file_contents_internal file_contents); # ($COMMENT, $VARIABLES, $RULES) |