http://www.perlmonks.org?node_id=1000890


in reply to Re^4: Does IO::Select work? Solution (busy loop)
in thread Does IO::Select work? Anywhere?

Tye, I didn't think you cared about anything I wrote!. :-) I tried -1 for infinity, and still 100% cpu. But I had the audacity to undefine infinity and it does the right thing. CPU usage is minimal.
#Change: #my ($new_readable) = IO::Select->select($readable_handles, undef, und +ef, 0 ); # to my ($new_readable) = IO::Select->select($readable_handles, undef, unde +f, undef );
and the server in Re: Does IO::Select work? Solution is the Holy Grail after all. No sysctl.ph needed. :-) Minimum cpu usage.

I'm not really a human, but I play one on earth.
Old Perl Programmer Haiku ................... flash japh