test971.pl: enable strict/warnings, fix them

This commit is contained in:
Viktor Szakats 2025-07-09 22:18:10 +02:00
parent 31e8d11aee
commit bc1e0cf561
No known key found for this signature in database
GPG key ID: B5ABD165E2AEF201

View file

@ -29,12 +29,19 @@
# $cmddir
#
use strict;
use warnings 'FATAL' => 'all';
use allversions;
my $opts = $ARGV[0];
my $cmddir = $ARGV[1];
my $versions = $ARGV[2];
my %file;
my %oiv;
my $error = 0;
sub cmdfiles {
my ($dir)=@_;
@ -93,6 +100,8 @@ sub versioncheck {
close($fh);
}
my %pastversion;
# get all the past versions
allversions($versions);