There's a difference. $| = 1; is equivalent to select()->autoflush(), not STDOUT->autoflush().
In reply to Re^4: The print is output later after die
by ikegami
in thread The print is output later after die
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |