S
s_p_a_m_mob
Hi there,
Do any of you know how to catch any error from Net::Google (or
underlying SOAP::Lite?). I created a basic script to retrieve files
from Google, and if my internet connexion gets down, I can't catch
neither an exception nor an error code. It just seems to output some
debugging informations...
my $google = Net::Google->new(key=>$key);
my $search = $google->search();
$search->query($query);
$search->max_results(MAXRESULTS);
$search->filter(1);
$results = $search->results(); # that method returns an ARRAY in any
case
Thanks in advance,
Marc-Olivier BERNARD
Do any of you know how to catch any error from Net::Google (or
underlying SOAP::Lite?). I created a basic script to retrieve files
from Google, and if my internet connexion gets down, I can't catch
neither an exception nor an error code. It just seems to output some
debugging informations...
my $google = Net::Google->new(key=>$key);
my $search = $google->search();
$search->query($query);
$search->max_results(MAXRESULTS);
$search->filter(1);
$results = $search->results(); # that method returns an ARRAY in any
case
Thanks in advance,
Marc-Olivier BERNARD