|
NAMEWWW::HatenaStar - perl interface to Hatena::Star SYNOPSIS use WWW::HatenaStar;
my $conf = { username => "woremacx", password => "vagina" };
my $star = WWW::HatenaStar->new({ config => $conf });
my $uri = "http://blog.woremacx.com/";
# you will have 5 stars
my $res = $star->stars({
uri => $uri,
quote => "woremacx++",
count => 5,
}, {
# defualt wait is 0.5
wait => 1,
# will passed $current_count and $max_count to callback
# example: eg/with_progress.pl
callback => \&callback,
});
unless ($res) {
die "WWW::HatenaStar complains : " . $star->error;
}
DESCRIPTIONWWW::HatenaStar is perl interface to Hatena::Star. AUTHORworemacx <woremacx at cpan dot org> otsune THANKSdann (cpanid: kitano) LICENSEThis library is free software; you can redistribute it and/or modify it under the same terms as Perl itself. SEE ALSO
POD ERRORSHey! The above document had some coding errors, which are explained below:
|