perl 得出一个变量数值,怎么判断这个数值大于1或者小于1?并且给出不同答案。

2025-04-08 11:15:02
推荐回答(1个)
回答1:

if($_->{wait_info} > 1){
print"成功\n";
}else{
print"失败\n";
}