in reply to html2doc server connection dies early
The debug output pretty much stops after that. I can't explain why it still prints Done with connection, though, unless the code you're actually running is slightly different than what you posted.my $doc = $word->{'Documents'}->Open("$file") or next; #TODO: log +error
I would add that error logging mentioned in the TODO, and also some error checking after you close statements (at least on Unix, some errors aren't reported until the file is closed).
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: html2doc server connection dies early
by IdleResonance (Acolyte) on Oct 23, 2005 at 03:38 UTC |