Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number
 
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 drinking their drinks and smoking their pipes about the Monastery: (9)
As of 2014-12-26 11:01 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    Is guessing a good strategy for surviving in the IT business?





    Results (171 votes), past polls