更新时间: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.