in reply to
Redirecting STDOUT
This question comes up a lot... I
know
I've
answered
it
at
least
eight
times
. As always, my recommended solution is to use
Filter::Handle
. It does a great job, requires minimum changes to existing code, and works with file handles other than STDOUT/STDERR.
Comment on
(RhetTbull) Re: Redirecting STDOUT
Replies are listed 'Best First'.
Re: (RhetTbull) Re: Redirecting STDOUT
by
Anonymous Monk
on Jun 14, 2002 at 22:04 UTC
And, as pointed out in its documentation, there are things it cannot catch. The most common of which are
system
calls.
[reply]
In Section
Seekers of Perl Wisdom