in reply to Auto-restarting script if it dies
Try setting your STDOUT buffer to autoflush. I didn't try your exact implementation, but that looks like the problem to me.
$| = 1;
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^2: Auto-restarting script if it dies
by mojodaddy (Pilgrim) on Mar 09, 2007 at 20:30 UTC |
In Section
Seekers of Perl Wisdom