From d2bc55bd404166a2ee5f3d33135946a148ff434c Mon Sep 17 00:00:00 2001 From: Ian Jackson Date: Wed, 6 Jul 2022 15:01:22 +0100 Subject: [PATCH] Fix error with more recent perl Can't use 'defined(%hash)' (Maybe you should just omit the defined()?) at /home/webstump/live-ulm/webstump/scripts/webstump.pl line 40.: /usr/lib/userv/ucgi/cgi/ucgi --- webstump/scripts/webstump.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/webstump/scripts/webstump.pl b/webstump/scripts/webstump.pl index ba5343e..dfe7dc3 100755 --- a/webstump/scripts/webstump.pl +++ b/webstump/scripts/webstump.pl @@ -37,7 +37,7 @@ $html_mode = "yes"; $command = ""; -if( defined %request ) { +if( %request ) { &disinfect_request; $command = $request{'action'} if( defined $request{'action'} ); } -- 2.30.2