NAME
WWW::Freshmeat - automates usage of Freshmeat.net
VERSION
Version 0.22
SYNOPSIS
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";
}
DESCRIPTION
WWW::Freshmeat
derives from LWP::UserAgent
, so it accepts all the methods that LWP::UserAgent
does, notably timeout
, useragent
, env_proxy
...
Methods
- retrieve_project STRING
-
Query the freshmeat.net site for the project STRING (should be the Freshmeat ID of the requested project) and returns a
WWW::Freshmeat::Project
object or undef if the project entry cannot be found. - project_from_xml STRING
-
Receives Freshmeat project XML record and returns a
WWW::Freshmeat::Project
object or undef if the project entry cannot be found. - redir_url STRING
-
Receives URL and returns URL which it redirects to.
SEE ALSO
AUTHOR
Cedric Bouvier, <cbouvi at cpan.org>
. Alexandr Ciornii.
BUGS
Please report any bugs or feature requests to bug-www-freshmeat at rt.cpan.org
, or through the web interface at 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.
SUPPORT
You can find documentation for this module with the perldoc command.
perldoc WWW::Freshmeat
You can also look for information at:
AnnoCPAN: Annotated CPAN documentation
CPAN Ratings
RT: CPAN's request tracker
Search CPAN
ACKNOWLEDGEMENTS
COPYRIGHT & LICENSE
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.