Pathologically Eclectic Rubbish Lister | |
PerlMonks |
Re: Best Way to Redirect STDERR to a Scalarby BrowserUk (Patriarch) |
on Sep 14, 2003 at 04:22 UTC ( [id://291344]=note: print w/replies, xml ) | Need Help?? |
Update: Forget the rest of this, it's bo..er..wrong! It couldn't work. I have a feeling that it may be possible to capture the output by dupping the file descriptor. POSIX::dup2 might be one way, and re-opening files(dups) using the "&=2" version of the syntax might be another. I have had a play with the latter, without success, but I didn't spend much time on it. Examine what is said, not who speaks.
"Efficiency is intelligent laziness." -David Dunham"When I'm working on a problem, I never think about beauty. I think only how to solve the problem. But when I have finished, if the solution is not beautiful, I know it is wrong." -Richard Buckminster Fuller If I understand your problem, I can solve it! Of course, the same can be said for you.
In Section
Seekers of Perl Wisdom
|
|