|
|
|
good chemistry is complicated, and a little bit messy -LW |
|
| PerlMonks |
Answer: Redirecting all output to a var for post processing? |
| ( #58234=categorized answer: print w/ replies, xml ) | Need Help?? |
|
Q&A > input and output > Redirecting all output to a var for post processing? contributed by goldclaw
If collecting all output in the same variable is OK for you, then using Tie::STDERR would do the job:
You might want to save the value of STDOUT if you would like to print something after you are done filtering etc. goldclaw
|
|
||||||||||||||||||