我在Perl中使用了一些系统命令.
在下面的例子中,我获得如下输出:
ls: import-log.*: No such file or directory ls: error-log.*: No such file or directory No specified files found for deletion
我的代码:
sub monthoryear() { @importlog = `ls -al import-log.*`; @errorlog = `ls -al error-log.*`; }
ls: import-log.*: No such file or directory & ls: error-log.*: No such file or directory