$| = 1; affects the currently selected handle. This is the handle print, printf and say use if you don't provide one., and it defaults to STDOUT.
In fact, ->autoflush changes the currently selected handle to the invocant, sets $|, then restores the originally selected handle.
In reply to Re^3: The print is output later after die
by ikegami
in thread The print is output later after die
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |