in reply to Re^3: Prepending a string to STDERR output, and logging STDOUT & STDERR synchronously to a file
in thread Prepending a string to STDERR output, and logging STDOUT & STDERR synchronously to a file
is straight from the recipe in the Perl Cookbook! Anyway, how do I use sysread instead of scalar <FH> ? As far as left hanging, I mean the program simply stops executing and the rest of the STDERR output is sort of left hanging in the ether, I guess, never to be outputted.print "STDXXX: " , scalar <FH>
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^5: Prepending a string to STDERR output, and logging STDOUT & STDERR synchronously to a file
by ikegami (Patriarch) on Apr 18, 2006 at 19:41 UTC |