From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from ciao.gmane.io (ciao.gmane.io [116.202.254.214]) by sourceware.org (Postfix) with ESMTPS id 3AD2D3857838 for ; Thu, 17 Nov 2022 23:29:23 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 3AD2D3857838 Authentication-Results: sourceware.org; dmarc=fail (p=none dis=none) header.from=gmail.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=m.gmane-mx.org Received: from list by ciao.gmane.io with local (Exim 4.92) (envelope-from ) id 1ovoJt-0006dO-IC for cygwin@cygwin.com; Fri, 18 Nov 2022 00:29:21 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: cygwin@cygwin.com From: =?UTF-8?Q?Ren=c3=a9_Berber?= Subject: Re: RE: [EXTERNAL] [BULK] Re: Internal Server Error running perl script in browser Date: Thu, 17 Nov 2022 17:29:16 -0600 Message-ID: <8aa120fa-85df-2f73-15f2-90154a347a49@gmail.com> References: <00c0939bc8934c478a84d347033a56a2@srhc.com> <46fd7576-e1a3-f25d-943f-4a511fe78728@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.19) Gecko/20081209 Lightning/0.9 Thunderbird/2.0.0.19 Mnenhy/0.7.6.0 Content-Language: en-US In-Reply-To: X-Spam-Status: No, score=4.2 required=5.0 tests=BAYES_50,DKIM_ADSP_CUSTOM_MED,FORGED_GMAIL_RCVD,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM,HEADER_FROM_DIFFERENT_DOMAINS,KAM_DMARC_STATUS,KAM_MARKSPAM,NICE_REPLY_A,NML_ADSP_CUSTOM_MED,SPF_HELO_NONE,SPF_PASS,TXREP autolearn=no autolearn_force=no version=3.4.6 X-Spam-Level: **** X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org List-Id: 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" --