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


in reply to Re^3: 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

the script returned some HASH value when I am trying to print $s3 value.
use Amazon::S3; my $file_name = "filename.txt"; my $bucketName = "forest-upload"; my $s3 = Amazon::S3->new({ aws_access_key_id => "XX", aws_secret_access_key => "XX", retry => 1 }); print $s3;
Output is "Amazon::S3=HASH(0xafac08)"