X-Recipient: archive-cygwin AT delorie DOT com X-Original-To: cygwin AT cygwin DOT com Delivered-To: cygwin AT cygwin DOT com 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 X-Injected-Via-Gmane: http://gmane.org/ To: cygwin AT cygwin DOT com From: =?UTF-8?Q?Ren=c3=a9_Berber?= <rene DOT berber AT gmail DOT com> 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 AT srhc DOT com> <46fd7576-e1a3-f25d-943f-4a511fe78728 AT gmail DOT com> <f0f004ee76654ecfb989fcad7c04ebfd AT srhc DOT com> Mime-Version: 1.0 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: <f0f004ee76654ecfb989fcad7c04ebfd@srhc.com> 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 X-BeenThere: cygwin AT cygwin DOT com X-Mailman-Version: 2.1.29 Precedence: list List-Id: General Cygwin discussions and problem reports <cygwin.cygwin.com> List-Unsubscribe: <https://cygwin.com/mailman/options/cygwin>, <mailto:cygwin-request AT cygwin DOT com?subject=unsubscribe> List-Archive: <https://cygwin.com/pipermail/cygwin/> List-Post: <mailto:cygwin AT cygwin DOT com> List-Help: <mailto:cygwin-request AT cygwin DOT com?subject=help> List-Subscribe: <https://cygwin.com/mailman/listinfo/cygwin>, <mailto:cygwin-request AT cygwin DOT com?subject=subscribe> Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset="us-ascii"; Format="flowed" Errors-To: cygwin-bounces+archive-cygwin=delorie DOT com AT cygwin DOT com Sender: "Cygwin" <cygwin-bounces+archive-cygwin=delorie DOT com AT cygwin DOT com> 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" -- -- Problem reports: https://cygwin.com/problems.html FAQ: https://cygwin.com/faq/ Documentation: https://cygwin.com/docs.html Unsubscribe info: https://cygwin.com/ml/#unsubscribe-simple