in reply to Re^2: The print is output later after diein thread The print is output later after die
There's a difference. $| = 1; is equivalent to select()->autoflush(), not STDOUT->autoflush().