Net::STF::Bucket - A STF Bucket
my $client = Net::STF::Client->new( ... ); my $bucket = Net::STF::Bucket->new( client => $client, name => "mybucket" ); $object = $bucket->put_object( $object_name, $content, \%opts ); $object = $bucket->get_object( $object_name, \%opts ); $bool = $bucket->delete_object( $object_name, \%opts ); $bool = $bucket->delete;
Net::STF::Bucket allows you to work with a bucket object to manipulate objects. Note that you DO NOT need to use this object if you are directly using the Net::STF::Client interface.
To install Net::STF::Client, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Net::STF::Client
CPAN shell
perl -MCPAN -e shell install Net::STF::Client
For more information on module installation, please visit the detailed CPAN module installation guide.