X-Spam-Check-By: sourceware.org Date: Sun, 9 Jul 2006 23:13:43 -0700 From: Yitzchak Scott-Thoennes To: cygwin AT cygwin DOT com Subject: Re: In scripts suddenly must use perl.exe rather than perl Message-ID: <20060710061343.GC2932@efn.org> References: <20060709200309 DOT GA2652 AT efn DOT org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4.2.1i X-IsSubscribed: yes Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com On Sun, Jul 09, 2006 at 10:38:19PM +0000, zzapper wrote: > Yitzchak Scott-Thoennes wrote in > news:20060709200309 DOT GA2652 AT efn DOT org: > > > On Sun, Jul 09, 2006 at 12:23:24PM +0000, zzapper wrote: > >> Hi, > >> > >> I have a few (ancient) shell scripts which call perl scripts (which > >> perform MySql queries), since a few days these have stopped working > >> (may have been since recent coreutils update) > > > > What does "stopped working" mean? > YST > I just get no output from the perl (doesn't produce any error) > > > >> c:/usr/local/bin/perl sdbk.pl $* (hard path to activestate perl) > >> > >> to get them working again I have to change perl to perl.exe > >> > >> c:/usr/local/bin/perl.exe sdbk.pl $* > >> > > > > > What happens when you try running them directly from a shell prompt > > (using the same shell as your shell script)? > > It's just the same What does sdbk.pl do? If you put a BEGIN { print "started!\n"; } line at the beginning, does it print it? > > > > cygcheck output? > > > Do you want all? > cygcheck -s Sorry, should have been more explicit. Bug reports should be accompanied by cygcheck -srv output, attached as a text attachment, not inline. Where did you actually install activeperl? And what output do you get from: ls -l c:/usr/local/bin (It's kind of odd that you have a /usr/local/bin set up outside of c:/Cygwin.) -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/