public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
From: "René Berber" <rene.berber@gmail.com>
To: cygwin@cygwin.com
Subject: Re: RE: [EXTERNAL] [BULK] Re: Internal Server Error running perl script in browser
Date: Thu, 17 Nov 2022 17:29:16 -0600	[thread overview]
Message-ID: <8aa120fa-85df-2f73-15f2-90154a347a49@gmail.com> (raw)
In-Reply-To: <f0f004ee76654ecfb989fcad7c04ebfd@srhc.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"
-- 


      reply	other threads:[~2022-11-17 23:29 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-11-17 16:22 Michael Lascuola
2022-11-17 18:51 ` René Berber
2022-11-17 18:51   ` René Berber
2022-11-17 18:57   ` [EXTERNAL] [BULK] " Michael Lascuola
2022-11-17 23:29     ` René Berber [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=8aa120fa-85df-2f73-15f2-90154a347a49@gmail.com \
    --to=rene.berber@gmail.com \
    --cc=cygwin@cygwin.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).