.74 is ok now
[email protected] (Uri Guttman)
| Newsgroups | perl.loop |
|---|---|
| Message-ID | <[email protected].> |
thanx for the patch which seems to work. did you add the code for this warning or was it just crashing before this happened? Event: package '' doesn't exist (creating) at /usr/local/lib/perl5/site_perl/5.005/sun4-solaris/Event/Watcher.pm line 73. Event: callback method main->writeable doesn't exist at /usr/local/lib/perl5/site_perl/5.005/sun4-solaris/Event/Watcher.pm line 73. i used your stack traces to find i was passing event.pm objects before they were blessed (i blessed them too late). i found 3 or so cases like this and fixed them. a better error message would be useful. perhaps some caller info of the outside sub which called event.pm. also theoretically a method doesn't have to exist at the watcher creation time. it could be autoloaded or dynamically created after the wather but before it can get activated. it is a good test though and will more likely find my kind of bug than anything else. maybe it could be disabled (lexical warnings?) so you could do something weird if desired (i wouldn't do anything like dynamic callback methods!) thanx, 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