in reply to Re^3: Daemon problem with sleep()
in thread Daemon problem with sleep()
$| affects the currently selected file handle (normally STDOUT).
$|++;
is a weird way of saying
$|=1;
and it's equivalent to
select()->autoflush(1);
But when acting on the same file handle, $|=1; and ->autoflush(1) are equivalent.
|
|---|