Tuesday, December 29, 2009

Amazon API Perl Modules

I'm a Perl novice, having only used it for about eight years. As a result, when I needed to add some Amazon modules to my Perl stack for integration with the AWS API, I was at a loss. Once I extracted that zip, here's what worked:
cd /usr/local/src/amazon-*-perl-library
ls
ReadMe.html     src
cd src; ls
Amazon
cp -ar Amazon /usr/local/lib/perl5/site_perl/*
# test it
perl -MAmazon::SimpleDB::Client -e 1
In this case, no output is good.

I tried to get ::VERSION to work, but it gave a blank line. Guess that command only works if you've used Perl for ten years.

No comments:

Post a Comment