Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot

Re: STDERR going to string

by kennethk (Abbot)
on Oct 03, 2011 at 14:59 UTC ( #929357=note: print w/replies, xml ) Need Help??

in reply to STDERR going to string

Your described behavior sounds odd, and thus I'd really like the opportunity to replicate your behavior. If you could post a self-contained code snippet that replicates your issue, I might be able to do just that. (wrap it in <code> tags instead of <pre> tags while you are at it). The code you have posted above correctly performs the redirects for me. See I know what I mean. Why don't you?.

Replies are listed 'Best First'.
Re^2: STDERR going to string
by philkime (Beadle) on Oct 03, 2011 at 17:40 UTC
    I've updated the original post with a minimal example displaying the problem. It seems to work when I write to a file instead of a string, which is strange. Even stranger is that when writing to a file, the order is wrong, I see the Text::BibTeX error at the top of the file and "manual error" after this. Buffering issue? Tried this on two different machines, perl 5.14.1 on both, one cygwin, one OSX.
      Tanktalus has diagnosed your issue below, and I unfortunately have nothing useful to add.

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://929357]
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others about the Monastery: (8)
As of 2018-07-17 10:13 GMT
Find Nodes?
    Voting Booth?
    It has been suggested to rename Perl 6 in order to boost its marketing potential. Which name would you prefer?

    Results (363 votes). Check out past polls.