in reply to Problems with sleep/select in loops
Some old flavors of *nix don't like 4-arg select with all fileno masks undefined. Setting the first arg to zero should satisfy them. On most, select(undef,undef,undef, 250); will sleep for two hundred and fifty seconds.
I suspect you are seeing nothing on STDOUT because autoflush is not enabled. $|=1; will fix that.
Your infinite loop has no escape clause. Are you relying on $SIG{TERM} to happen sometime?
Update: Btw, you're printing to FILE before you open it. I assume that's a paste error
After Compline,
Zaxo
|
|---|