AWS-Signature-V4

 view release on metacpan or  search on metacpan

eg/10-s3-content-encoding-probe.pl  view on Meta::CPAN

   push @out, '          update V4.pod and t/streaming.t to match, and run';
   push @out, '          this program again to confirm the other order.';
   $status = 1;
}
else {
   push @out, 'verdict:  INCONCLUSIVE. The gzip upload failed, but not with a';
   push @out, '          refusal from S3, so it says nothing about the order:';
   push @out, '          see the error line above, then run it again.';
   $status = 1;
}
# the keys themselves go on stderr, outside the block that gets pasted
my @leftover = grep { defined } map { $_->{leftover} } @cases;
if (@leftover) {
   push @out, '', sprintf 'note:     %d object%s left behind, delete %s by hand',
      scalar @leftover, @leftover == 1 ? '' : 's', @leftover == 1 ? 'it' : 'them';
   warn "could not delete: $_\n" for @leftover;
}
push @out, '-------------------------------------------------------';
say for @out;
exit $status;



( run in 2.445 seconds using v1.01-cache-2.11-cpan-60884a8df76 )