in reply to Re^6: Need to print bucket and filename which is uploaded on S3 storage
in thread Need to print bucket and filename which is uploaded on S3 storage

Died at Amazon_bucket.pl line 18.

Your script doesn't have 18 lines therefore the script you have shown is not the script you are running.

  • Comment on Re^7: Need to print bucket and filename which is uploaded on S3 storage

Replies are listed 'Best First'.
Re^8: Need to print bucket and filename which is uploaded on S3 storage
by coolsaurabh (Acolyte) on Aug 21, 2019 at 10:57 UTC

    It could be that the script shown didn't have 18 lines of code but if you could have seen the message carefully,you would have got the message what I was trying to convey. my $bucket = $s3->add_bucket( { bucket => $bucket_name } ) or die $s3->errstr ; Above statement is getting failed when run.