X-Spam-Check-By: sourceware.org To: cygwin AT cygwin DOT com From: Yitzchak Scott-Thoennes Subject: Re: perl script dies with The instruction at Date: Mon, 25 Dec 2006 01:18:51 +0000 (UTC) Lines: 20 Message-ID: References: <1166709020 DOT 458a911c4c444 AT easymail-old DOT hol DOT gr> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit User-Agent: Loom/3.14 (http://gmane.org/) X-IsSubscribed: yes Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: 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 Harold Fuchs wolfeden.demon.co.uk> writes: > Yitzchak Scott-Thoennes wrote: > > How are you starting your script? Can you put: print "$^O: $]\n" > > or something at the beginning and verify for sure which perl you are > > using? > At a command prompt (DOS/CMD or cygwin) do "perl -version" (no quotes). Not > "-v"; spell it out in full. That will tell you, for each shell, which > version of perl *perl* thinks is running. Then, if you have two different > ones, remove the one you don't want. perl -v is identical in meaning to perl -version, and has been for a long long time. And that will tell you about the perl that gets invoked when you type perl foo.pl at a shell prompt, but won't tell you anything about what version of perl a particular script ends up using. -- 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/