in reply to Death of sleep?

Add the line $|=1; to the top of your script, “to make your pipes piping hot!”.

The print is being executed, but the buffer isn't flushed.

—John