Re: POE debugging without STDOUT/STDERR ?

Olivier Mengué <[email protected]>
Newsgroups gmane.comp.lang.perl.poe
Message-ID <[email protected]>
Le 22 septembre 2009 11:42, Olivier Mengué <[email protected]> a
écrit :

> How can I use POE's debugging features without access to STDOUT/STDERR?
>

This was obvious:

close STDOUT;
close STDERR;
open STDOUT, '>>:utf8', "${log_file}.out";
print STDOUT "----------------------------------\n";
open STDERR, '>>:utf8', "${log_file}.err";
print STDERR "----------------------------------\n";
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.