WWW::Search::RpmFind - class for searching RpmFind.net
#!/usr/bin/perl use WWW::Search; use strict; my $oSearch = new WWW::Search('RpmFind'); # Create request $oSearch->native_query(WWW::Search::escape_query("cgi")); print "I find ", $oSearch->approximate_result_count()," elem\n"; while (my $oResult = $oSearch->next_result()) { print "---------------------------------\n", "Url :", $oResult->url,"\n", "Titre :", $oResult->title,"\n", "Distrib:", $oResult->description,"\n", "Rpm:", $oResult->source,"\n"; }
This class is an RpmFind specialization of WWW::Search. It handles making and interpreting RpmFind searches http://RpmFind.net, a database search engine on RPM packages..
This class exports no public interface; all interaction should be done through WWW::Search objects.
The WWW::Search man pages
WWW::Search::RpmFind is written by Alain BARBET, alian@alianwebserver.com
WWW::Search::RpmFind
To install WWW::Search::RpmFind, copy and paste the appropriate command in to your terminal.
cpanm
cpanm WWW::Search::RpmFind
CPAN shell
perl -MCPAN -e shell install WWW::Search::RpmFind
For more information on module installation, please visit the detailed CPAN module installation guide.