I'll upgrade my htmldoc exec to match yours, and I'll check the code again. I think you may have a different perl version to me... I have 5.8.0, do you have 5.6 or even 5.005? I think you need at least 5.6.
Since I can't duplicate it, its a bit hard to do anything but treat the symptoms empirically.
To prevent the uninitialised value error, line 116 change to:
undef $ENV{QUERY_STRING} if(defined $ENV{QUERY_STRING});
(this is weird since QUERY_STRING really should be set. Maybe a perl version problem)
To stop htmldoc thinking it is running as a CGI, line 140 add:
$ENV{TMPDIR} = $tdir;
$ENV{TMP} = $tdir;
undef $ENV{QUERY_STRING};
(This looks like a htmldoc version problem, with htmldoc trying to be clever)
To prevent the prototype check error, line 59 remove ($) and change to:
sub readcfgfile {
(this might be a perl version problem)Statistics: Posted by stevesh — Thu Jan 06, 2005 8:29 pm
]]>