[EXTERNAL] [BULK] Re: Internal Server Error running perl script in browser
René Berber
rene.berber@gmail.com
Thu Nov 17 23:29:16 GMT 2022
On 11/17/2022 12:57 PM, Michael Lascuola via Cygwin wrote:
> Thanks for the response! Forgive me, as I am SQL Server DBA. Is
> there another way I should check this?
>
> $ perl -v
>
> This is perl 5, version 32, subversion 1 (v5.32.1) built for
> x86_64-cygwin-threads-multi (with 7 registered patches, see perl -V
> for more detail)
>
> Copyright 1987-2021, Larry Wall
[snip]
That is Cygwin's perl, but...
> $ which perl
> /usr/local/bin/perl
That is not the same.
The first one is at /usr/bin/perl. And your PATH correctly leads to it.
Your problem is the script, which explicitly calls the 2nd perl:
#!/usr/local/bin/perl
Try changing that line to either "#!/usr/bin/perl", or
"#!/usr/bin/env perl"
--
More information about the Cygwin
mailing list