From: Ian Jackson Date: Wed, 6 Jul 2022 14:01:22 +0000 (+0100) Subject: Fix error with more recent perl X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~webstump/git?p=modbot-mtm.git;a=commitdiff_plain;h=e9cbeb628c6a553a2869279cda6edde8a66bae2e 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 --- 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'} ); }