diff --git a/.github/scripts/trimmarkdownheader.pl b/.github/scripts/trimmarkdownheader.pl index 9c623730b9..89b2e7d9fd 100755 --- a/.github/scripts/trimmarkdownheader.pl +++ b/.github/scripts/trimmarkdownheader.pl @@ -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;