Skip to content

Commit bb6b6e9

Browse files
chrismwendtidank
authored andcommitted
Fix defined(%hash)
Can't use 'defined(%hash)' (Maybe you should just omit the defined()?) at tools/w3mman2html.cgi line 223.
1 parent d35f949 commit bb6b6e9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tools/w3mman2html.cgi

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -220,7 +220,7 @@ sub is_command {
220220
local($p);
221221

222222
(! -d && -x) || return 0;
223-
if (! defined(%PATH)) {
223+
if (! (%PATH)) {
224224
for $p (split(":", $ENV{'PATH'})) {
225225
$p =~ s@/+$@@;
226226
$PATH{$p} = 1;

0 commit comments

Comments
 (0)