I am trying to upload images to S3 using perl. Here is the code snippet:
my $keyname = 'testing.txt';
my $value = 'T';
$bucket->add_key(
$keyname, $value,
{ content_type => 'text/plain',
'x-amz-meta-colour' => 'orange',
}
);
Is it right? Do i have to make any changes?