WWW::Search::RPMPbone - class for searching rpm.pbone.net
#!/usr/bin/perl use WWW::Search; use strict; my $oSearch = new WWW::Search('RPMPbone'); # Create request $oSearch->native_query(WWW::Search::escape_query("ccache*src.rpm")); print "I find ", $oSearch->approximate_result_count()," elem\n"; while (my $oResult = $oSearch->next_result()) { print "---------------------------------\n", "Url :", $oResult->url,"\n", "Distrib:", $oResult->description,"\n", "Rpm:", $oResult->source,"\n"; }
This class is an RpmPbone (http://rpm.pbone.net/index.php3) specialization of WWW::Search. It handles making and interpreting searches from rpm.pbone.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::RPMPbone is written by Alagar, samy@cpan.org
WWW::Search::RPMPbone
To install WWW::Search::RPMPbone, copy and paste the appropriate command in to your terminal.
cpanm
cpanm WWW::Search::RPMPbone
CPAN shell
perl -MCPAN -e shell install WWW::Search::RPMPbone
For more information on module installation, please visit the detailed CPAN module installation guide.