Skip Menu |

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

Report information
The Basics
Id: 33132
Status: resolved
Priority: 0/
Queue: Google-Adwords

People
Owner: Nobody in particular
Requestors: charlie [...] mcelfresh.com
Cc:
AdminCc:

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



Subject: bug in Google::Adwords::KeywordToolService
Date: Mon, 11 Feb 2008 13:32:12 -0800
To: <bug-google-adwords [...] rt.cpan.org>
From: "Charlie McElfresh" <charlie [...] mcelfresh.com>
Hello, thank you for your excellent Google::Adwords module. When I run the code in the "synopsis" section of this page: http://search.cpan.org/~rohan/Google-Adwords-v1.5.0/lib/Google/Adwords/KeywordToolService.pm This code works: print "moreSpecific \n"; for ( @{$keyword_variations->moreSpecific} ) { print "Keyword # text : " . $_->text . " | searchVolumeScale : " . $_->searchVolumeScale . "\n"; }But the following code throws this error: Can't use an undefined value as an ARRAY reference at line 100 print "additionalToConsider \n"; :100 for ( @{$keyword_variations->additionalToConsider} ) { print "Keyword # text : " . $_->text . " | searchVolumeScale : " . $_->searchVolumeScale . "\n"; }I looked at the source and I cannot see why one works and the other doesn't. Charlie McElfreshCalifornia, USA
This should be fixed in the latest release v1.8 -- Rohan On Mon Feb 11 16:35:08 2008, charlie@mcelfresh.com wrote: Show quoted text
> Hello, thank you for your excellent Google::Adwords module. > > When I run the code in the "synopsis" section of this page: > > http://search.cpan.org/~rohan/Google-Adwords- > v1.5.0/lib/Google/Adwords/KeywordToolService.pm > > This code works: > print "moreSpecific \n"; > for ( @{$keyword_variations->moreSpecific} ) { > print "Keyword # text : " . $_->text . " | searchVolumeScale : " > . $_->searchVolumeScale . "\n"; > }But the following code throws this error: Can't use an undefined > value as an ARRAY reference at line 100 print "additionalToConsider > \n"; > :100 for ( @{$keyword_variations->additionalToConsider} ) { > print "Keyword # text : " . $_->text . " | searchVolumeScale : " > . $_->searchVolumeScale . "\n"; > }I looked at the source and I cannot see why one works and the > other doesn't. > Charlie McElfreshCalifornia, USA