http://www.perlmonks.org?node_id=926560

welle has asked for the wisdom of the Perl Monks concerning the following question:

Dear Monks

I am experimenting with Bing::Search to get search results in my application. I read some documentation but i am not able to set the number of results retrieved by the module. I think the max number possible through the API sould be 50. By default 10 results are showed. Any one more have an answer?

use Bing::Search; use Bing::Search::Source::Web; my $search = Bing::Search->new( AppId => 'my ID', Query => 'Inflation site:europa.eu language:de filetype:pdf', Count => '&Web.Count=50' ); my $source = Bing::Search::Source::Web->new(); $search->add_source( $source ); my $response = $search->search(); print $_->Url ."\n" for @{$response->results};