Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling
 
PerlMonks  

Re: Inline: where did the output go?

by Moron (Curate)
on Jun 12, 2007 at 12:16 UTC ( #620705=note: print w/ replies, xml ) Need Help??


in reply to Inline: where did the output go?

We don't know what you did in either program of course. My first instinct would be to try

./perlscript.pl > output.txt 2>&1
and see if the output magically appears in the file. If so then you can conclude that the output is going to STDERR instead of STDOUT as you expected.

Update: and if that doesn't do anything also try 0>&1 just to make sure and if that makes the difference you were writing to STDIN.

__________________________________________________________________________________

^M Free your mind!


Comment on Re: Inline: where did the output go?
Download Code
Re^2: Inline: where did the output go?
by andye (Curate) on Jun 12, 2007 at 14:14 UTC
    Tried that, but it didn't help. Thanks for the thought though.

    Best wishes, andye

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others examining the Monastery: (18)
As of 2015-07-01 19:29 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (17 votes), past polls