Disclaimer, I've never used this module. Looking at the test in question the first thing that jumps out to me is this:

my $ua = Net::Amazon->new( token => 'YOUR_AMZN_TOKEN', secret_key => 'YOUR_AMZN_SECRET_KEY', # response_dump => 1, );

Suggesting you'd need to provide a valid token/key from Amazon. Then if you look at the error it tells you that Net::Amazon expects something that is not passed to it, the associate tag. The Changes file states:

0.61 (10/28/2011) (cb) rt 71937; Amazon now requires an Associate Tag, so enforce usage.

Music::Tag::Amazon has not been updated since 2010, and won't work because it's dependency (Net::Amazon) has changed to meet the requirement of the Amazon service. Fixing this would seem fairly trivial, and you can raise an issue and provide a patch via cpan.

Update: I don't have an Amazon soap account/developer tokens. I've made a very quick update, it's not final as I'd like to improve the tests and documentation more before raising the pull request. Please test this and let me know if it works.


In reply to Re: Make fail on Music::Tag::Amazon by marto
in thread Make fail on Music::Tag::Amazon by shain

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.