in reply to Why does close(STDOUT) terminate my program?

You need to use fork there. See my columns that give examples of how to use fork with CGI.

-- Randal L. Schwartz, Perl hacker
Be sure to read my standard disclaimer if this is a reply.

  • Comment on Re: Why does close(STDOUT) terminate my program?