summaryrefslogtreecommitdiff
path: root/bin/autoupdate.in
diff options
context:
space:
mode:
Diffstat (limited to 'bin/autoupdate.in')
-rw-r--r--bin/autoupdate.in9
1 files changed, 6 insertions, 3 deletions
diff --git a/bin/autoupdate.in b/bin/autoupdate.in
index af8dd55b..c4ae4bde 100644
--- a/bin/autoupdate.in
+++ b/bin/autoupdate.in
@@ -24,6 +24,10 @@
eval 'case $# in 0) exec @PERL@ -S "$0";; *) exec @PERL@ -S "$0" "$@";; esac'
if 0;
+use 5.006;
+use strict;
+use warnings;
+
BEGIN
{
my $pkgdatadir = $ENV{'autom4te_perllibdir'} || '@pkgdatadir@';
@@ -36,15 +40,14 @@ BEGIN
$ENV{'SHELL'} = '@SHELL@' if ($^O eq 'dos');
}
+use File::Basename;
+
use Autom4te::ChannelDefs;
use Autom4te::Channels;
use Autom4te::Configure_ac;
use Autom4te::FileUtils;
use Autom4te::General;
use Autom4te::XFile;
-use File::Basename;
-use strict;
-use warnings;
# Lib files.
my $autom4te = $ENV{'AUTOM4TE'} || '@bindir@/@autom4te-name@';