How do I ignore the Perl shebang on Windows with Apache 2?

前端 未结 8 764
南方客
南方客 2020-11-29 08:31

I have set up a local Perl web environment on my Windows machine. The application I\'m working on is originally from a Linux server, and so the shebang for source .pl<

8条回答
  •  再見小時候
    2020-11-29 09:15

    I don't have Windows handy, but perlcritic says:

    my $desc = q{Found platform-specific perl shebang line};
    my $expl = q{Perl source in parrot should use the platform-independent shebang line: #! perl};
    

    So, I guess #! perl should work.

    Edit: doesn't work on linux; apparently works in parrot, although I don't see how they manage that.

提交回复
热议问题