allversions.pm: enable warnings, fix one

This commit is contained in:
Viktor Szakats 2025-07-11 14:43:00 +02:00
parent 6c688767d3
commit 6c27c77608
No known key found for this signature in database
GPG key ID: B5ABD165E2AEF201

View file

@ -25,6 +25,11 @@
# populate the %pastversion hash table with the version number as key and
# release date as value
use strict;
use warnings;
our %pastversion;
sub allversions {
my ($file) = @_;
open(A, "<$file") ||