AnyEvent-Plurk
view release on metacpan or search on metacpan
lib/AnyEvent/Plurk.pm view on Meta::CPAN
107108109110111112113114115116117118119120121122123124125126127128
my
$users
=
$data
->{plurk_users};
for
my
$pu
(
@$unread_plurks
) {
$pu
->{owner} =
$users
->{
$pu
->{owner_id}}
if
$users
->{
$pu
->{owner_id}};
}
$self
->event(
"unread_plurks"
=>
$unread_plurks
);
$self
->{__polling_time_offset} = current_time_offset;
}
}
$self
->{__polling_timer} = AE::timer 60, 0,
sub
{
undef
$self
->{__polling_timer};
$self
->_start_polling;
}
}
);
}
sub
start {
my
$self
=
shift
;
$self
->login;
( run in 0.531 second using v1.01-cache-2.11-cpan-55f5a4728d2 )