Event::loop rounds all timeouts down to the nearest second, regardless of wether Time::HiRes is used or not.
Reason is likely the "use integer" inside loop. Removing it indeed fixes this bug and makes loop behave as documented. -- The choice of a -----==- _GNU_ ----==-- _ generation Marc Lehmann ---==---(_)__ __ ____ __ [EMAIL PROTECTED] --==---/ / _ \/ // /\ \/ / http://schmorp.de/ -=====/_/_//_/\_,_/ /_/\_\ XX11-RIPE