I have encountered a strange problem using the sleep builtin function.
Here is a REALLY simple program that demonstrates the issue
This program hangs indefinitely. Hi is not printed out. Remove the call to sleep() and the program, as expected, endlessly prints hi. I have tried sleep(1), but to no avail.
I am using perl 5.8.0 on redhat 8.0 - 2.4.18-26.8.0smp.
This makes NO sense.