in reply to STDERR, preserve order of
I think the main thing to take away from the two responses you've had so far is that one must always remember TIMTOWTDI. Neither one of us answered your question directly, but instead, tried to tease out the actual objective and address that instead. I have little doubt there will be a few more that offer different ideas still, including one that might actually show how to correctly intersperse STDOUT with STDERR.
That, in my opinion, is the essence of being a good software engineer: Find out what the end consumer really wants to accomplish and deliver that.
I meant to address your comment that you want to avoid using a CPAN module. I presume this is because you want to learn how to do it yourself. That is an excellent idea at this point in time for you (if I can make certain assumptions.) Once you've experienced some of the royal PITAs it is easier to fully appreciate just what CPAN really does for us. :)
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: STDERR, preserve order of
by GillSans (Initiate) on Sep 10, 2013 at 14:47 UTC |