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


in reply to Re: Problem with MacPerl
in thread Problem with MacPerl

@array = <FILE> works exactly the same as on Unix. It is just entirely false to say otherwise.

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.