in reply to Re: Problem with MacPerl
in thread Problem with MacPerl
And sleep() works as intended. OK, so it can't just begin sleeping right away if something else is happening; welcome to cooperative multitasking! To blame MacPerl for the Mac OS architecture is pretty silly.
One may also wish to look into Mac::Events::WaitNextEvent() for some purposes.