in reply to Re: Subroutine does not sleep
in thread Subroutine does not sleep
But the advice isn't that useful. He's printing to the terminal, and the terminal is in line-buffer mode. Regardless of the value of $|, as soon as a newline is printed (which he does), the output gets flushed.