I think the file position keeps flipping back, because I see the message to STDERR report early blocks repeatedly.
Are you sure they're being reported repeatedly, or just somewhat out of order (which would be the expected behaviour due to runtime differences of the forked processes)?.
I just tried it (with a simple test file containing dummy SQL_REPORT_ID sections) on HP-UX 11.00, 11.11 and 11.23 with Perl 5.8.4 and 5.8.8, and I'm unable to reproduce the problem you describe. I.e., the proper $Sql content, $ReportId etc. are reported once each, as expected.
Are you doing anything else in the forked processes than what you've shown in the snippet above, or should that in fact already exhibit the problem?
In reply to Re: HPUX corruption of file handle after fork
by almut
in thread HPUX corruption of file handle after fork
by Abe
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |