in reply to Re: Net::OSCAR - a bot that will send and receive?
in thread Net::OSCAR - a bot that will send and receive?
this handles messages received, and of course we use this:sub im_in { my($oscar, $sender, $message, $is_away) = @_; print "$sender: $message\n"; }
but the problem is, it doesnt do anything if I go inside a loop of sending messages every X amount of seconds like the example above, it never goes into the callback function, because its stuck inside the loop.. thats the problem im having.$oscar->set_callback_im_in(\&im_in);
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: Net::OSCAR - a bot that will send and receive?
by kennethk (Abbot) on Dec 08, 2008 at 02:36 UTC |