Net::Google error handling
s_p_a_m_mob_at_hotmail.com
Date: 03/07/05
- Next message: s_p_a_m_mob_at_hotmail.com: "Re: Net::Google error handling"
- Previous message: usaims: "Re: comparing two numbers"
- Next in thread: s_p_a_m_mob_at_hotmail.com: "Re: Net::Google error handling"
- Reply: s_p_a_m_mob_at_hotmail.com: "Re: Net::Google error handling"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: 7 Mar 2005 08:02:25 -0800
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
- Next message: s_p_a_m_mob_at_hotmail.com: "Re: Net::Google error handling"
- Previous message: usaims: "Re: comparing two numbers"
- Next in thread: s_p_a_m_mob_at_hotmail.com: "Re: Net::Google error handling"
- Reply: s_p_a_m_mob_at_hotmail.com: "Re: Net::Google error handling"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|