Aliyun::AuthV2- 阿里云V2签名算法
use Aliyun::AuthV2; my $auth = Aliyun::AuthV2->new(); $auth->set_appkey('你自己的key'); $auth->set_secretkey('你自己的秘钥');
Aliyun::AuthV2 阿里云V2签名算法
$auth->set_evn(1, 0); 是否是sanbox 生产环境:1,测试环境:0,默认:1 是否启用https 启用https:1,非https:0,默认:0
$auth->set_appkey('你自己的key'); 设置阿里云给你的key值
$auth->set_secretkey('你自己的秘钥'); 置阿里云给你的秘钥
$auth->set_secretkey({}); 生成请求的url地址
To install Aliyun, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Aliyun
CPAN shell
perl -MCPAN -e shell install Aliyun
For more information on module installation, please visit the detailed CPAN module installation guide.