If you want stdout and stderr in separate streams, you can do this with a nice mixture of fork, open, select (or IO::Select) and other goodies... or you can just use IPC::Open3. I've used IPC::Open3 for this type of thing before - I still used IO::Select to make sure I am reading from both handles without letting either buffer fill up.
In reply to Re: Parsing STDERR and STDOUT at the same time
by Tanktalus
in thread Parsing STDERR and STDOUT at the same time
by qazwart
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |