How can I modify my cygwin environment to use Strawberry Perl instead of the packaged Perl distribution?

前端 未结 8 1305
一整个雨季
一整个雨季 2020-12-31 07:59

I currently use Strawberry Perl as my primary Perl distribution. However, I have some applications that make Perl calls through cygwin. These generally fail because they are

8条回答
  •  旧巷少年郎
    2020-12-31 08:13

    This is probably not a preferred solution, but you should be able to modify the #! line:

    #!/cygdrive/c/strawberry/perl/bin/perl5.10.0
    

    I always refer to an explicit location and installation of perl, rather than relying on what is in /usr/bin.

提交回复
热议问题