Automates usage of freshmeat.net
Version 0.22
use WWW::Freshmeat; my $fm = WWW::Freshmeat->new(token=>'freshmeat_token'); my $project = $fm->retrieve_project('project_id'); foreach my $p ( @projects, $project ) { print $p->name(), "\n"; print $p->version(), "\n"; print $p->description(), "\n"; }
\*(C`WWW::Freshmeat\*(C' derives from \*(C`LWP::UserAgent\*(C', so it accepts all the methods that \*(C`LWP::UserAgent\*(C' does, notably \*(C`timeout\*(C', \*(C`useragent\*(C', \*(C`env_proxy\*(C'...
Query the freshmeat.net site for the project \s-1STRING\s0 (should be the Freshmeat \s-1ID\s0 of the requested project) and returns a \*(C`WWW::Freshmeat::Project\*(C' object or undef if the project entry cannot be found.
Receives Freshmeat project \s-1XML\s0 record and returns a \*(C`WWW::Freshmeat::Project\*(C' object or undef if the project entry cannot be found.
Receives \s-1URL\s0 and returns \s-1URL\s0 which it redirects to.
LWP::UserAgent.
Cedric Bouvier, \*(C`<cbouvi at cpan.org>\*(C'. Alexandr Ciornii.
Please report any bugs or feature requests to \*(C`bug-www-freshmeat at rt.cpan.org\*(C', or through the web interface at http://rt.cpan.org/NoAuth/ReportBug.html?Queue=WWW-Freshmeat <http://rt.cpan.org/NoAuth/ReportBug.html?Queue=WWW-Freshmeat>. I will be notified, and then you'll automatically be notified of progress on your bug as I make changes.
You can find documentation for this module with the perldoc command.
perldoc WWW::Freshmeat
You can also look for information at:
AnnoCPAN: Annotated \s-1CPAN\s0 documentation http://annocpan.org/dist/WWW-Freshmeat <http://annocpan.org/dist/WWW-Freshmeat>
\s-1CPAN\s0 Ratings http://cpanratings.perl.org/d/WWW-Freshmeat <http://cpanratings.perl.org/d/WWW-Freshmeat>
\s-1RT:\s0 \s-1CPAN\s0's request tracker http://rt.cpan.org/NoAuth/Bugs.html?Dist=WWW-Freshmeat <http://rt.cpan.org/NoAuth/Bugs.html?Dist=WWW-Freshmeat>
Search \s-1CPAN\s0 http://search.cpan.org/dist/WWW-Freshmeat <http://search.cpan.org/dist/WWW-Freshmeat>
Copyright 2006 Cedric Bouvier (version 0.01). Copyright 2009-2012 Alexandr Ciornii.
This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.