>>>>> "JNP" == Joshua N Pritikin <[EMAIL PROTECTED]> writes:
JNP> On Tue, May 23, 2000 at 06:55:41PM -0400, [EMAIL PROTECTED] wrote:
>> Ignored 't' in poll mask at
>> /usr/lib/perl5/site_perl/5.005/i386-linux/Event/Watcher.pm line 71.
>>
>> i am adding the 't' poll code as well as the timeout method. are you
>> ignoring the 't' if the method is passed? not a biggie, i remove the 't'
>> when i am adding the timeout method. just tell mat that is ok. it seems
>> to timeout fine without the 't'.
JNP> Yah. The 't' flags is read-only since the watcher already knows
JNP> whether to timeout based upon whether the timeout is set.
JNP> Perhaps the API is slightly misleading.
yeah. if all you want is a timeout still need to know read or write but
the timout time arg tells you that (unless you also provide a default
timeout value like i do). in any case removed the 't' and the warnign
went away. but a real bug is you don't report where the call came
from. the warning reports the line in Watcher.pm and it should be
reporting the line in my code.
uri
--
Uri Guttman --------- [EMAIL PROTECTED] ---------- http://www.sysarch.com
SYStems ARCHitecture, Software Engineering, Perl, Internet, UNIX Consulting
The Perl Books Page ----------- http://www.sysarch.com/cgi-bin/perl_books
The Best Search Engine on the Net ---------- http://www.northernlight.com