【发布时间】:2016-04-21 22:30:34
【问题描述】:
我正在使用当前版本的 Strawberry Perl 和 Windows Server 2008。
由于某种原因,Perl 似乎没有在当前工作目录中找到文件:
F:\temp\hackr\e>ls
test.csv train.csv
F:\temp\hackr\e>perl -ne 'print if (rand() < .01)' train.csv
The system cannot find the file specified.
【问题讨论】:
-
你确定它找到
perl? -
@simbabque 好问题。当我输入
perl并输入时,没有错误。它放下一行等待进一步的命令。所以我认为它找到了 perl。
标签: perl