# print stuff just to the browser open(TEE, "| tee $filename") || die "Can't open pipe: $!"; select(TEE); $| = 1; # print stuff to both file and browser select(STDOUT); # print stuff to just the browser
In reply to Re: Multiple outputs in a CGI script
by Cirollo
in thread Multiple outputs in a CGI script
by Cirollo
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |