Re: funky AUTOLOAD

2000-02-02 Thread Uri Guttman
> "NI" == Nick Ing-Simmons <[EMAIL PROTECTED]> writes: NI> Joshua N Pritikin <[EMAIL PROTECTED]> writes: >> It isn't too bad. Only the Event package has a custom AUTOLOAD >> function. It's purpose is to magically make: >> >> my $w = Event->watcher_type(...); >> >> Short hand

Re: funky AUTOLOAD

2000-02-02 Thread Uri Guttman
> "JNP" == Joshua N Pritikin <[EMAIL PROTECTED]> writes: JNP> It isn't too bad. Only the Event package has a custom AUTOLOAD JNP> function. It's purpose is to magically make: JNP> my $w = Event->watcher_type(...); JNP> Short hand for: JNP> require Event::watcher_type; JNP

Re: funky AUTOLOAD

2000-02-02 Thread Joshua N Pritikin
On Wed, Feb 02, 2000 at 05:49:24PM -0500, [EMAIL PROTECTED] wrote: > actually why doesn't the above work? i would have thought that common > event methods like cancel would be in the Event package. They are in Event::Watcher to catch exactly this type of mistake. > i still don't > always get the

Re: unloop bug

2000-02-02 Thread Uri Guttman
> "JNP" == Joshua N Pritikin <[EMAIL PROTECTED]> writes: and still to be explained is why the nonexistant cancel.pm module was being loaded? or the other desc.pm one. the bad inheritance path should just cause a method not found error. i think there is a problem in your AUTOLOAD that is conv

Re: unloop bug

2000-02-02 Thread Uri Guttman
> "JNP" == Joshua N Pritikin <[EMAIL PROTECTED]> writes: >> package Stem::Event::Plain ; >> >> use Carp ; >> use base qw(Event) ; JNP> Whoa! Don't you mean qw(Event::idle)? they don't call me stupid for nuthin' ya know! that fixed it. actually why doesn't the above work? i wou

Re: unloop bug

2000-02-02 Thread Joshua N Pritikin
On Wed, Feb 02, 2000 at 05:08:42PM -0500, [EMAIL PROTECTED] wrote: > it definitely has to do with the reblessing of the watcher object into > the Stem object. when i removed the bless code it works fine. so somehow > i can't subclass Event so i can use its objects and inherit its > methods. > >

unloop bug

2000-02-02 Thread Uri Guttman
here is the code. it is not too long. this doesn't core dump but it looks for cancel.pm perl foo.pl Stem::Event::Plain::Test testing end test Can't locate Event/cancel.pm in @INC (@INC contains: /usr/local/lib/perl5/5.00503/sun4-solaris /usr/local/lib/perl5/5.00503 /usr/local/lib/perl5/site_p

Re: unloop_all bug??

2000-02-02 Thread Joshua N Pritikin
On Wed, Feb 02, 2000 at 04:27:13PM -0500, [EMAIL PROTECTED] wrote: > i am writing some testing code and i want to unloop (exit) the main loop > when a certain thing happens so i can exit the test. but when i call > unloop_all i got this error: > > perl -MStem -e 'Stem::Event::Plain::Test::go()'

unloop_all bug??

2000-02-02 Thread Uri Guttman
i am writing some testing code and i want to unloop (exit) the main loop when a certain thing happens so i can exit the test. but when i call unloop_all i got this error: perl -MStem -e 'Stem::Event::Plain::Test::go()' Stem::Event::Plain::Test testing success end test Can't locate Event/cancel.

threads

2000-02-02 Thread Joshua N Pritikin
FYI, Event compiles cleanly with 5.5.64-thread-multi. Some of the tests fail, but it does compile. -- "May the best description of competition prevail." via, but not speaking for Deutsche Bank

Re: cpan mirroring is slow

2000-02-02 Thread Uri Guttman
> "MJTG" == M J T Guy <[EMAIL PROTECTED]> writes: MJTG> Uri Guttman <[EMAIL PROTECTED]> wrote >> due to the rapid release of event.pm revisions, i have been forced to >> manually download from josh's cpan dir instead of using CPAN.pm. it >> thinks my event.pm is up to date! in another

Re: cpan mirroring is slow

2000-02-02 Thread M.J.T. Guy
Uri Guttman <[EMAIL PROTECTED]> wrote > due to the rapid release of event.pm revisions, i have been forced to > manually download from josh's cpan dir instead of using CPAN.pm. it > thinks my event.pm is up to date! in another day or so it will properly > find it is out of date. Since Event.pm is

Re: Event-0.62

2000-02-02 Thread Joshua N Pritikin
On Wed, Feb 02, 2000 at 03:19:08PM +0100, [EMAIL PROTECTED] wrote: > Does it work on a Windows NT platform? Sorry, not yet. -- "Never ascribe to malice that which can be explained by stupidity." via, but not speaking for Deutsche Bank