cro

How to edit the source code in module after installed it using zef?

戏子无情 提交于 2019-12-01 18:36:30
问题 For example, I've installed the Cro module, when I run my simple code: my %headers = {Authorization => OAuth realm="", oauth_consumer_key="xxxxxxxxxxxxxxxx", oauth_nonce="29515362", oauth_signature="KojMlteEAHlYjMcLc6LFiOwRnJ8%3D", oauth_signature_method="HMAC-SHA1", oauth_timestamp="1525913154", oauth_token="xxxx-xxxxxxxxxxxxxxxxxx", oauth_version="1.0", User-Agent => Cro}; my $resp = await Cro::HTTP::Client.get: 'http://api.fanfou.com/statuses/home_timeline.json', headers => [ user-agent =>

How to edit the source code in module after installed it using zef?

泪湿孤枕 提交于 2019-12-01 18:06:01
For example, I've installed the Cro module, when I run my simple code: my %headers = {Authorization => OAuth realm="", oauth_consumer_key="xxxxxxxxxxxxxxxx", oauth_nonce="29515362", oauth_signature="KojMlteEAHlYjMcLc6LFiOwRnJ8%3D", oauth_signature_method="HMAC-SHA1", oauth_timestamp="1525913154", oauth_token="xxxx-xxxxxxxxxxxxxxxxxx", oauth_version="1.0", User-Agent => Cro}; my $resp = await Cro::HTTP::Client.get: 'http://api.fanfou.com/statuses/home_timeline.json', headers => [ user-agent => 'Cro', content-type => 'application/json;charset=UTF-8', |%headers ]; say $resp.header('content-type')