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. 
> 
> uri
> 
> #!/usr/local/bin/perl
> 
> use strict ;
> use Event ;
> 
> package Stem::Event ;
> 
> sub start_loop {
> 
>       Event::loop() ;
> }
> 
> sub end_loop {
> 
>       Event::unloop_all( 1) ;
> }
> 
> package Stem::Event::Plain ;
> 
> use Carp ;
> use base qw(Event) ;

Whoa!  Don't you mean qw(Event::idle)?

-- 
"May the best description of competition prevail."
           via, but not speaking for Deutsche Bank

Reply via email to