http://www.perlmonks.org?node_id=11104816


in reply to Need to print bucket and filename which is uploaded on S3 storage

Hi, why are you using a module that has not been updated since 2009 to access a commercial cloud service?

How I store stuffs in S3 these days:

my $s3 = Net::Amazon::S3->new({ aws_access_key_id => $conf->{access_key}, aws_secret_access_key => $conf->{secret_key}, }); my $bucket = $s3->bucket( $conf->{bucket} ); my $key = $conf->{path}{ $op_env } . '/some_name'; $bucket->add_key( $key, $data ) or $die($s3->err . ": " . $s3->errstr) +;

Hope this helps!


The way forward always starts with a minimal test.