且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

这个“无法打开perl脚本:没有这样的文件或目录”的原因是什么?

更新时间:2023-02-23 08:05:35

确保路径上的第一个perl是cygwin perl;如果它是一个本地的Win32 perl(ActiveState或草莓,例如),它不会理解cygwin路径。

Make sure that the first perl on your path is the cygwin perl; if it is a native Win32 perl (ActiveState or Strawberry, for instance), it won't understand cygwin paths.

perl -V:osname 应该报告cygwin,而不是MSWin32。

perl -V:osname should report cygwin, not MSWin32.