scstadmin: Enable Perl warnings

Make the Perl interpreter complain about dubious Perl constructs.


git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@8024 d57e44dd-8a1f-0410-8b47-8ef2f437770f
This commit is contained in:
Bart Van Assche
2019-03-10 01:01:59 +00:00
parent 398af246b5
commit 46698cc77d
2 changed files with 5 additions and 2 deletions

View File

@@ -7,11 +7,12 @@ package SCST::SCST;
# Copyright (c) 2005-2011 Mark R. Buechler
# Copyright (c) 2011-2019 Bart Van Assche <bvanassche@acm.org>.
use strict;
use warnings;
use 5.005;
use Fcntl ':mode';
use IO::Handle;
use IO::File;
use strict;
use Carp qw(cluck);
use POSIX;

View File

@@ -1,5 +1,8 @@
#!/usr/bin/perl
use strict;
use warnings;
my $Version = 'SCST Configurator v3.3.0-pre1';
# Configures SCST
@@ -242,7 +245,6 @@ Examples:
EndUsage
}
use strict;
use Cwd qw(abs_path);
use File::Basename;
use File::Spec;