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