in reply to Re: Daemon problem with sleep()
in thread Daemon problem with sleep()
\n only flushes when writing to STDOUT and only when it's connected to a terminal. That's not the case here.
Autoflushing can be turned on using
use IO::Handle qw( ); LOG->autoflushing(1);
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: Daemon problem with sleep()
by Lawliet (Curate) on Dec 17, 2008 at 19:38 UTC | |
by ikegami (Patriarch) on Dec 17, 2008 at 19:53 UTC |