Amazon-S3
view release on metacpan or search on metacpan
To build this module on an earlier version of `perl` you may need to
downgrade some modules. In particular I have found this recipe to
work for building and testing on 5.10.0.
In this order install:
HTML::HeadParser 2.14
LWP 6.13
Amazon::S3
...other versions _may_ work...YMMV. If you do decide to run on an
earlier version of `perl`, you are encouraged to run the test
suite. See the ["TESTING"](#testing) section for more details.
- API Signing
Making calls to AWS APIs requires that the calls be signed. Amazon
has added a new signing method (Signature Version 4) to increase
security around their APIs. This module no longer utilizes Signature
Version V2.
lib/Amazon/S3.pm view on Meta::CPAN
To build this module on an earlier version of C<perl> you may need to
downgrade some modules. In particular I have found this recipe to
work for building and testing on 5.10.0.
In this order install:
HTML::HeadParser 2.14
LWP 6.13
Amazon::S3
...other versions I<may> work...YMMV. If you do decide to run on an
earlier version of C<perl>, you are encouraged to run the test
suite. See the L</TESTING> section for more details.
=item API Signing
Making calls to AWS APIs requires that the calls be signed. Amazon
has added a new signing method (Signature Version 4) to increase
security around their APIs. This module no longer utilizes Signature
Version V2.
# You can't delete a bucket with things in it
ok( !$bucket_obj->delete_bucket(), 'delete bucket' );
$bucket_obj->delete_key($keyname);
# now play with the file methods
my ( $fh, $lorem_ipsum ) = tempfile();
print {$fh} <<'EOT';
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do
eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad
minim veniam, quis nostrud exercitation ullamco laboris nisi ut
aliquip ex ea commodo consequat. Duis aute irure dolor in
reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla
pariatur. Excepteur sint occaecat cupidatat non proident, sunt in
culpa qui officia deserunt mollit anim id est laborum.
EOT
close $fh;
my $lorem_ipsum_md5 = file_md5_hex($lorem_ipsum);
( run in 2.548 seconds using v1.01-cache-2.11-cpan-99c4e6809bf )