I'm trying to use the Google::Adwords perl modules but I'm getting:

Bareword "Google::Adwords::Campaign" not allowed while "strict subs" in use

Here is the beginning of my script:

use Google::Adwords::Campaign;
use Google::Adwords::CampaignService;
sub {
my $campaign = Google::Adwords::Campaign;

I get:

# ls /usr/lib/perl5/vendor_perl/5.8.8/Google/Adwords/Campaign.pm
/usr/lib/perl5/vendor_perl/5.8.8/Google/Adwords/Campaign.pm

Does anyone know why this is happening?

- Grant

-- 
To unsubscribe, e-mail: beginners-unsubscr...@perl.org
For additional commands, e-mail: beginners-h...@perl.org
http://learn.perl.org/


Reply via email to