Re: Event and IO::Socket
[email protected] (Joshua N Pritikin) Tue, 6 Aug 2002 19:13:24 +0530
| Newsgroups | perl.loop |
|---|---|
| Message-ID | <[email protected]> |
On Tue, Aug 06, 2002 at 09:12:52AM -0400, Jeff Boes wrote: > .... which is pretty clearly what I wanted to do, but it's an > *attribute*, not a *constructor attribute*. What should the behavior of > the constructor be if you supply an unused (but recognized) constructor > attribute? That is, > > Event->io( fd => $fd, poll => 'r', cb => \&cb, min => 20 ); > > doesn't complain, but it doesn't do what I expected, either. In that case, 'min' is silently ignored. It probably should emit a warning at least. Patches welcome. -- Victory to the Divine Mother!! after all, http://sahajayoga.org http://why-compete.org