Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask
 
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
Replies are listed 'Best First'.
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 wandering the Monastery: (15)
As of 2015-07-31 15:39 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 (279 votes), past polls