in reply to Re^2: The print is output later after die
in thread The print is output later after die
$| = 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 Section
Seekers of Perl Wisdom