go ahead... be a heretic | |
PerlMonks |
Re: interleaf stdout stderr to a fileby kennethk (Abbot) |
on Mar 03, 2015 at 00:42 UTC ( [id://1118513]=note: print w/replies, xml ) | Need Help?? |
You should be able to accomplish this using select and the special variable $| to turn off buffering:
Of course, you'll likely have trouble if you execute your command as listed above, since the channels will clobber each other. You probably mean
#11929 First ask yourself `How would I do this without a computer?' Then have the computer do it the same way.
In Section
Seekers of Perl Wisdom
|
|