Subject: | Getting the message "Mandatory paramter 'secret_key' not defined..." |
Date: | Sun, 24 Nov 2013 13:25:20 -0800 |
To: | bug-Net-Amazon-DVD2IMDB [...] rt.cpan.org |
From: | Todd Andrews <taa [...] pobox.com> |
Hello,
Running version 0.03 of Net::Amazon::DVD2IMDB installed via cpan utility.
Perl v5.14.2
Mac OS X 10.7.5 (Lion)
I have module URI::Amazon::APA also installed and running fine with
my $key = $ENV{AWS_KEY}
my $secret = $ENV{AWS_SECRET}
When I execute:
my $dvd2imdb = new Net::Amazon::DVD2IMDB( token => $key );
I'm getting:
Mandatory paramter 'secret_key' not defined at
/usr/local/share/perl/5.14.2/Net/Amazon.pm line 64.
I also tried adding secret_key like this:
my $dvd2imdb = new Net::Amazon::DVD2IMDB( token => $key, secret_key
=> $secret );
But I get the same error.