OSS - 阿里云对象存储oss管理接口
#!/usr/bin/evn perl use warnings; use strict; use OSS; my $ali_access_key_id = ''; my $ali_secret_access_key = ''; my $oss = OSS->new( { $ali_access_key_id => $ali_access_key_id, $ali_secret_access_key => $ali_secret_access_key, } ); my $buckets = $oss->buckets; my $bucket_name = 'mytest'; #创建bucket my $bucket = $oss->add_bucket({bucket =>$bucket_name}) or die $oss->err . ": " . $oss->errstr;
OSS 提供操作oss存储接口
Crisewng <crisewng@gmail.com>
1 POD Error
The following errors were encountered while parsing the POD:
Non-ASCII character seen before =encoding in '阿里云对象存储oss管理接口'. Assuming UTF-8
To install OSS, copy and paste the appropriate command in to your terminal.
cpanm
cpanm OSS
CPAN shell
perl -MCPAN -e shell install OSS
For more information on module installation, please visit the detailed CPAN module installation guide.