AnyEvent-Plurk
view release on metacpan or search on metacpan
0.11:
- Fixes
0.10:
- Re-implemented with the official Plurk API
0.04:
- fix dependency
0.03:
- fix _tick mis-use of AE::timer, again.
- update tests for the same reason.
0.02:
- fix _tick mis-use of AE::timer
0.01:
- Implement "unread_plurks" event.
lib/AnyEvent/Plurk.pm view on Meta::CPAN
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.906 second using v1.01-cache-2.11-cpan-55f5a4728d2 )