JFarr has asked for the wisdom of the Perl Monks concerning the following question:
The above snippet works fine.open( $stdout , ">&STDOUT" ); open( $stderr , ">&STDERR" ); open( STDOUT , "| perl tee.pl -a $fErrorLogFile" ); select STDOUT; $| = 1; ... code ... print "Some text....\n";
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: changing STDOUT
by ikegami (Patriarch) on Jul 21, 2006 at 22:35 UTC | |
|
Re: changing STDOUT
by planetscape (Chancellor) on Jul 22, 2006 at 02:11 UTC | |
|
Re: changing STDOUT
by Leviathan (Scribe) on Jul 22, 2006 at 13:35 UTC |