$| 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.
In reply to Re^4: Daemon problem with sleep()
by ikegami
in thread Daemon problem with sleep()
by MichaelMeyer
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |