Re: Update to memory growth problems with Event.pm

[email protected] (Joshua N Pritikin) Tue, 14 May 2002 11:43:54 +0530
Newsgroups perl.loop
Message-ID <[email protected]>
On Mon, May 13, 2002 at 06:32:04PM -0400, Bradley Brahms wrote:
> To do this, one would add the following to their script:
> 
>     Event->timer(interval => 5, cb => sub{unloop;});
> 
> then change their Event::loop; line to
>     while (1) {
>         Event::loop;
>     }

i think this is the same as saying:

  while (1) { Event::loop(5); }

-- 
Victory to the Divine Mother!!         after all,
  http://sahajayoga.org                  http://why-compete.org