Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"
 
PerlMonks  

Re: perl script not giving output

by haoess (Curate)
on Feb 04, 2008 at 05:59 UTC ( #665913=note: print w/ replies, xml ) Need Help??


in reply to perl script not giving output

Please note that some shells on some OS' redirect only some output (namely only STDOUT) when using >. Output produced by warn, die et al. is normally not printed to STDOUT, but STDERR. To redirect this output to your logfile (on some shells), you have to

$ ./abcd.pl > file.log 2>&1

-- Frank


Comment on Re: perl script not giving output
Select or Download Code
Re^2: perl script not giving output
by steadybompipi (Initiate) on Feb 05, 2008 at 05:48 UTC
    actually did that too... but still some output is not in...

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others rifling through the Monastery: (19)
As of 2014-10-20 18:47 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    For retirement, I am banking on:










    Results (88 votes), past polls