mirror of
https://github.com/SCST-project/scst.git
synced 2026-05-29 18:00:18 +00:00
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:
@@ -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;
|
||||
|
||||
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user