美元符号后跟问号在 Perl 中是什么意思? [英] What does a dollar sign followed by a question mark mean in Perl?
本文介绍了美元符号后跟问号在 Perl 中是什么意思?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
在以下 Perl 脚本中:
In the following in Perl script:
$a=apple
$b=orange
if ($?==0) {
# do something
}
$?
在这里是什么意思?
推荐答案
这是上次系统操作、管道或反引号操作返回的状态.请参阅参考 perlvar.
This is the status returned by the last system operation, pipe, or backtick operation. See reference perlvar.
这篇关于美元符号后跟问号在 Perl 中是什么意思?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文