Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister
 
PerlMonks  

Re: STDERR going to string

by kennethk (Monsignor)
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?.


Comment on Re: STDERR going to string
Select or Download Code
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?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://929357]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others contemplating the Monastery: (5)
As of 2014-11-28 18:43 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My preferred Perl binaries come from:














    Results (199 votes), past polls