WWW::HatenaStar - perl interface to Hatena::Star
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;
}
WWW::HatenaStar is perl interface to Hatena::Star.
woremacx <woremacx at cpan dot org>
otsune
This library is free software; you can redistribute it and/or modify it under
the same terms as Perl itself.
- Hatena::Star (Japanese)
<http://s.hatena.ne.jp/>
- WWW::HatenaLogin
Hey! The above document had some coding errors, which are explained
below:
- Around line 216:
- =over without closing =back