Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW

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 (Sexton) 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 chilling in the Monastery: (2)
As of 2017-04-29 16:52 GMT
Find Nodes?
    Voting Booth?
    I'm a fool:

    Results (533 votes). Check out past polls.