Keep It Simple, Stupid | |
PerlMonks |
Re: Open pipe to a function?by tcf22 (Priest) |
on Dec 10, 2003 at 21:41 UTC ( [id://313886]=note: print w/replies, xml ) | Need Help?? |
If you are going to pipe it to a script, then I believe it has to be in another script. If all you need to do is write STDERR to a file, why not just do this at the beginning of your script: Update:Try using IO::Tee, like suggested by Roy Johnson. I included a sample in my reply to you below. - Tom
In Section
Seekers of Perl Wisdom
|
|