trimmarkdownheader.pl: enable warnings, fix one

This commit is contained in:
Viktor Szakats 2025-07-11 14:29:38 +02:00
parent e7cf939ab3
commit aa1e6c3e38
No known key found for this signature in database
GPG key ID: B5ABD165E2AEF201

View file

@ -7,7 +7,10 @@
# Outputs: the same file, minus the header
#
my $f = $ARGV[0];
use strict;
use warnings;
my $f = $ARGV[0] || '';
open(F, "<$f") or die;