The Tie::Tee example on the link you posted is really slick, and is probably the best solution. You wouldn't have the buffering question since there's only one place where you'd write to STDOUT, it wouldn't be exec-ing an external program, and it would be cross-platform.
/\/\averick
In reply to RE: RE (2): Multiple outputs in a CGI script
by maverick
in thread Multiple outputs in a CGI script
by Cirollo
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |