Hi, I am trying to use this module to interact with Amazon's EC2. I downloaded this module (v 0.09) on v5.8.8 release 824 (ActiveState), but it just doesn't work. I've emailed the author, but have had no response. The code use Net::Amazon::EC2; statement in a script, by itself, generates the following:
Can't use an undefined value as a HASH reference at C:/Perl/site/lib/C +lass/MOP/Class.pm line 640. BEGIN failed--compilation aborted at C:/Perl/site/lib/Moose/Object.pm +line 8. Compilation failed in require at C:/Perl/site/lib/Moose.pm line 25. BEGIN failed--compilation aborted at C:/Perl/site/lib/Moose.pm line 25 +. Compilation failed in require at C:/Perl/site/lib/Net/Amazon/EC2.pm li +ne 2. BEGIN failed--compilation aborted at C:/Perl/site/lib/Net/Amazon/EC2.p +m line 2. Compilation failed in require at C:\MVM\tools\ec2.pl line 1. BEGIN failed--compilation aborted at C:\MVM\tools\ec2.pl line 1.
Can anybody help me troubleshoot this? It appears to have a problem with Moose, but that's where my knowledge ends... tia, matt

In reply to Net::Amazon::EC2 - Breaks out of the box by mpettis

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.