Try closing STDIN and STDERR also.
It's probably dependant upon the webserver you are using, but the one I'm playing with doesn't seem to let go of the perl script and send the html until all three shared handles are closed. YMMV with other webservers, but it's worth a shot.
In reply to Re: close STDOUT does not work, why?
by BrowserUk
in thread close STDOUT does not work, why?
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |