Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid
 
PerlMonks  

Re^2: To Debug a Hanging Perl Script

by Anonymous Monk
on Mar 03, 2006 at 09:32 UTC ( [id://534176]=note: print w/replies, xml ) Need Help??


in reply to Re: To Debug a Hanging Perl Script
in thread To Debug a Hanging Perl Script

Hi ikegami,
Where and how should I put this line in my script?
Auto-flush STDOUT ($| = 1;)

Replies are listed 'Best First'.
Re^3: To Debug a Hanging Perl Script
by ikegami (Patriarch) on Mar 03, 2006 at 15:43 UTC
    Anywhere. Presumably near the top so it gets executed soon. And it's:
    $| = 1; # Auto-flush STDOUT

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others avoiding work at the Monastery: (7)
As of 2024-04-24 07:20 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found