in reply to HPUX corruption of file handle after fork
Remove the line:
The children messing with (closing, in this case) the file handle is likely the cause of your problem. You might still have a problem with the children sharing a single copy of $Sql, but i've never used fork in perl before, so I couldn't say.close $fh or die "Can't close $fh";
...roboticus
Update: I forgot to tell why the line ought to be cut.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: HPUX corruption of file handle after fork
by Abe (Acolyte) on Dec 10, 2007 at 16:49 UTC |