On 5/26/2007 8:27 PM, Jeremy Kister wrote:
> I'm sure I'm just using the code incorrectly, but can't figure the
> right way to do it.

I've figured out the logic.  $peer->update must go inside on of the peer
callbacks.  I can simply add conditionals inside my timer callback.

I was previously trying to keep control of the program in my own loop,
but saw that the Process event_loop requires control.

Thanks,

-- 

Jeremy Kister
http://jeremy.kister.net./

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
http://learn.perl.org/


Reply via email to