我没学过perl 这段代码$msg->reply( join " ",map {$_->{dst}} @{ $json->{trans_result} } );是我从源代码里面拿出来的,完全看不懂。。。。我想在这段字符串再加一句字符串怎么加呢?
这是lambda表达式,将dst每一项转换成trans_result翻译结果,再用空格连起来作为reply的参数(回复消息)