Re: Event and CPU usage while idle
[email protected] ("Allen Smith") Sat, 9 Feb 2002 10:11:51 -0500
| Newsgroups | perl.loop |
|---|---|
| Message-ID | <[email protected]> |
On Feb 9, 10:09am, Joshua N Pritikin wrote: > On Sat, Feb 09, 2002 at 09:22:57AM -0500, Colin Murtaugh wrote: > > I can try that. I know that if I just open a file and do a "while > > (<FILE>)" loop to read it, it blocks when there's no input. That's fine > > as long as that file is the only source of events, but I want to have > > others as well. > > Yah. i think there is an Event::Tail floating around. You can look > at the source code for that. Event::File::tail, in Event::File. -Allen -- Allen Smith [email protected] September 11, 2001 A Day That Shall Live In Infamy II "They that can give up essential liberty to obtain a little temporary safety deserve neither liberty nor safety." - Benjamin Franklin