Problems? Is your data what you think it is? | |
PerlMonks |
Re: Re: Re: Open pipe to a function?by hardburn (Abbot) |
on Dec 10, 2003 at 21:48 UTC ( [id://313892]=note: print w/replies, xml ) | Need Help?? |
You could probably do some tricks with IO::Multiplex. Just save the orginal filehandle like this:
And then reopen STDERR with IO::Multiplex with $old_stderr and a filehandle to the log file. ---- : () { :|:& };: Note: All code is untested, unless otherwise stated
In Section
Seekers of Perl Wisdom
|
|