Matthias Kraatz wrote:
in a cgi-script I wanted to prevent an executable that I call from
within the script from dumping output directly to the webpage.
This worked fine with 'open(STDOUT,">something-log.txt")'.
But now I want to write to the webpage again.
'open(STDOUT,">&STDOUT")' does not only look strange, well, it also
doesn't work.
Check out this FAQ:
perldoc -q "more than one file"
--
Gunnar Hjalmarsson
Email: http://www.gunnar.cc/cgi-bin/contact.pl
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>