Add "use warnings" + correct subroutine prototypes declaration

This commit is contained in:
Dirk
2026-09-01 15:21:10 +02:00
parent 8ab28557a1
commit 7e1cd8a8c4
6 changed files with 12 additions and 6 deletions
+2 -1
View File
@@ -4,6 +4,7 @@
#
use strict;
use warnings;
use Test::More;
use JSON;
@@ -94,7 +95,7 @@ if ( $os eq "linux" ){
done_testing($tests);
printf "\n\n";
sub json($) {
sub json {
my $file = shift;
$file = `cat $file`;
unlink $file;