Skip Menu |

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

Report information
The Basics
Id: 45494
Status: resolved
Priority: 0/
Queue: Google-Search

People
Owner: Nobody in particular
Requestors: naiman [...] math.jct.ac.il
Cc:
AdminCc:

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



Subject: some global destruction thing
Date: Mon, 27 Apr 2009 22:05:13 +0200
To: bug-Google-Search [...] rt.cpan.org
From: Aaron Naiman <naiman [...] math.jct.ac.il>
Dear Robert, Hi. Thanx for all of the hard and good work -- but I am not quite there yet. :-) Firstly, I wish there was an easier way to automatically install *all*dependent modules at once. Do you know of a way? As I went about it, I had to install, one at a time by hand: 1. google::search 2. moose 3. class::mop 4. mro::compat 5. class::c3 6. algorithm::c3 7. devel::globaldestruction 8. sub::exporter 9. data::optlist 10. params::util 11. sub::install And then finally, I hit: can't locate exported subroutine in_global_destruction via Devel::GlobalDestruction at /home/naiman/local_perl/Class/MOP.pm line 12 BEGIN failed--compilation aborted at /home/naiman/local_perl/Class/MOP.pm line 12. Compilation failed in require at /home/naiman/local_perl/Moose/Exporter.pm line 10. BEGIN failed--compilation aborted at /home/naiman/local_perl/Moose/Exporter.pm line 10. Compilation failed in require at /home/naiman/local_perl/Moose.pm line 16. BEGIN failed--compilation aborted at /home/naiman/local_perl/Moose.pm line 16. Compilation failed in require at /home/naiman/local_perl/Google/Search.pm line 59. BEGIN failed--compilation aborted at /home/naiman/local_perl/Google/Search.pm line 59. Compilation failed in require at google-results.cgi line 65. BEGIN failed--compilation aborted at google-results.cgi line 65. Huh? One other thing, please. How is it that you report Currently, their API looks like it will fetch you the top 28 results for your search query. when I see at http://code.google.com/apis/ajaxsearch/documentation/reference.html that the only two options are: small and large, i.e., 4 and 8 results? Thank you so much for your time. 'night, Aaron -- Aaron ("Aharon") Naiman Jerusalem College of Technology--Machon Lev naiman@math.jct.ac.il http://math.jct.ac.il/~naiman
Rebuilding the dependencies fixed the problem.
Subject: Re: [rt.cpan.org #45494] Resolved: some global destruction thing
Date: Thu, 30 Apr 2009 19:29:55 +0300
To: bug-Google-Search [...] rt.cpan.org
From: Aaron Naiman <naiman [...] math.jct.ac.il>
On Thu, Apr 30, 2009 at 6:16 PM, Robert Krimen via RT < bug-Google-Search@rt.cpan.org> wrote: Show quoted text
> <URL: https://rt.cpan.org/Ticket/Display.html?id=45494 > > > According to our records, your request has been resolved. If you have any > further questions or concerns, please respond to this message. >
My more recent letter, on the same subject (different bug number?): Dear Rob, Thanx for getting back to me. Are you using the latest versions of each? I've never seen that bug before. Show quoted text
> It'll be difficult to tackle unless I can > reproduce. Can you come onto irc.perl.org, my nick is grink. >
Okay, I spent about one complete day rebuilding all of the modules. There were many hiccups along the way ( :-( ) but eventually I got it to work. Thank you again for the suggestion. Show quoted text
>> One other thing, please. How is it that you report >> >> Currently, their API looks like it will fetch you the top 28 results for >> your search query. >> >> when I see at >> http://code.google.com/apis/ajaxsearch/documentation/reference.html that >> the >> only two options are: small and large, i.e., 4 and 8 results?
> > > This looks to be for their AJAX control, in the browser. >
I am sorry, I did not understand your answer. Are you not using their AJAX control? I clearly see in your code: "rsz" being equal to "small" (4) or "large" (8) -- so how is it that I am getting 60 (!) results (not even the 28 max you document). Thank you in advance for your explanation. One last question: I put in a for "Larry Wall" in your code: my $search = Google::Search->Web(q => "Larry Wall", ... and straight into a browser window as well. I got different results, and certainly in a different order. (I tried with enclosing quotation marks, as well as without.) Why is that?? Thanx so much for your time! Aaron -- Aaron ("Aharon") Naiman Jerusalem College of Technology--Machon Lev naiman@math.jct.ac.il http://math.jct.ac.il/~naiman
Google does a lot of things with web search, based on your search settings, browser history, and physical location. I wouldn't be surprised that you're getting different results. You'll have to address those questions to Google, though. Maybe their groups newsboard.