Uploading - The Details 

my $content = read_file( $filename );
$s3->PutObject(
    {
        Bucket  => $bucket,
        Key     => $filename,
        headers => { 'Content-Type' => 'image/jpg' },
        content => $content,
    }
);