Re: net::google problem

2005-10-20 Thread Ing. Branislav Gerzo
Jeff 'japhy' Pinyan [JP], on Thursday, October 20, 2005 at 09:34 (-0400 (EDT)) wrote about: JP> Stop right there! See the [ at the beginning of the dumped representation JP> of $response? That means $response is an array reference. It *holds* JP> objects, but it isn't an object itself. yes, th

Re: net::google problem

2005-10-20 Thread Jeff 'japhy' Pinyan
On Oct 20, Ing. Branislav Gerzo said: use strict; use warnings; use Net::Google; [snip] my $response = $session->response(); I dumped response, and beginning is: $VAR1 = [ bless( { Stop right there! See the [ at the beginning of the dumped representation of $response? That mea

net::google problem

2005-10-20 Thread Ing. Branislav Gerzo
Hi pals, I have this naughty problem, and I am stuck: use strict; use warnings; use Net::Google; use constant LOCAL_GOOGLE_KEY => "mykey"; my $service = Net::Google->new(key=>LOCAL_GOOGLE_KEY); my $session = $service->search(); $session->query(qw(Perl modules)); my $response = $session->respo