Skip Menu |

This queue is for tickets about the WWW-Search-MSN CPAN distribution.

Report information
The Basics
Id: 20046
Status: resolved
Priority: 0/
Queue: WWW-Search-MSN

People
Owner: Nobody in particular
Requestors: korwin.amber [...] gmail.com
Cc:
AdminCc:

Bug Information
Severity: Critical
Broken in: 0.0101
Fixed in: (no value)



Subject: Empty result of search caused abnormal termination of script
If result of search is empty, message "Can't call method "look_down" on an undefined value at /usr/lib/perl5/site_perl/5.8.6/WWW/Search/MSN.pm line 110" appeared and script terminated. Sample code: #!/usr/bin/perl use strict; use WWW::Search::MSN; my $query = 'mumzik8797'; my $search = WWW::Search->new("MSN"); $search -> native_query(WWW::Search::escape_query($query)); $search -> maximum_to_return(100); while ( my $result = $search -> next_result() ){ my $url = $result -> url; print $url."\n"; }
This is a duplicate of the bug that was reported and fixed in 0.0103. Try 0.0104 and see if it works for you. Regards, Shlomi Fish