Rob, Thanks for your reduction of the code, and for your input in general. I have tried http://localhost/ w/o a file name. In a browser, I get the apache generated directory index. From the script, however, I get the same hanging behavior untill it times out. In regardes to your comment: Printing an HTTP header to STDOUT has no useful purpose at all.
this is not compleate task at hand. It is simply my simplification of the exact problem I'm having. The full task at hand involves java servlets which are generating binary files which will be further manipulated by my scripts, but the details of that are beyond the scope of this issue. Thank you again for your help with this. -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] <http://learn.perl.org/> <http://learn.perl.org/first-response>