www.delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2025/04/17/12:44:35

DMARC-Filter: OpenDMARC Filter v1.4.2 delorie.com 53HGiZdg2714817
Authentication-Results: delorie.com; dmarc=pass (p=none dis=none) header.from=cygwin.com
Authentication-Results: delorie.com; spf=pass smtp.mailfrom=cygwin.com
DKIM-Filter: OpenDKIM Filter v2.11.0 delorie.com 53HGiZdg2714817
Authentication-Results: delorie.com;
dkim=pass (1024-bit key, unprotected) header.d=cygwin.com header.i=@cygwin.com header.a=rsa-sha256 header.s=default header.b=mRieO7UU
X-Recipient: archive-cygwin AT delorie DOT com
DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 180D53857723
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cygwin.com;
s=default; t=1744908273;
bh=ghrieDVbS6EP6d3gn5gF98KvK/WxO8DXD2q+vWDGRYE=;
h=Date:To:Subject:List-Id:List-Unsubscribe:List-Archive:List-Post:
List-Help:List-Subscribe:From:Reply-To:From;
b=mRieO7UUCXF1tQIHyU0Hq2KPYgzKrxrI+Jil3H1jP8+QiNpJUqNfXaIh62pkvTEv7
1csTPH8NWSjBd6Lwqxrt3Am8pohWcl6qyjFJJTqV7XcPXySGCe3WL4dx3wyKtMFGJV
4C2aR4vfCHfC5Fl1g7Bq2dxpYo/0Xs7lunNKjF8o=
X-Original-To: cygwin AT cygwin DOT com
Delivered-To: cygwin AT cygwin DOT com
DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org E3D18385770D
ARC-Filter: OpenARC Filter v1.0.0 sourceware.org E3D18385770D
ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1744908160; cv=none;
b=KXmOjRZOHLc+0YF9KcWluEzX6rwuV8uUu5QRm02QPDncsQU+mdbHE5N+Av352szdb5m68XYL2b4Pq1VX+Z/XaQSnDmIPVAdJqfTBYQd5i+lB7/AtSiofx/FEg6N8HId6UYsHtqAUlO8UxuOGIQNRfWKvG/n8u0Bt1i19WITGzts=
ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key;
t=1744908160; c=relaxed/simple;
bh=Wz9cSlzU8ozhabMDG17+N6pVLoH+qpDi7iSLBEYOde8=;
h=DKIM-Signature:Date:From:To:Message-ID:Subject:MIME-Version;
b=f0QZr0rwsLDcGJq5Asyupv/MpRO3mN6MQXuUQ2hk0QSqvoIloALybX6AQUI2WyJvrbzhazMmoN0O8CWd7nluW9c+LMZrEKdcw0QA2XJa2AG9kibTym/4bbPZvG7GxIRO0VIgM7Eg4RF7S4ysFTdDnz9CfqauwAs6vy+87x5zQ/g=
ARC-Authentication-Results: i=1; server2.sourceware.org
DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org E3D18385770D
Date: Thu, 17 Apr 2025 18:42:38 +0200 (GMT+02:00)
To: Cygwin <cygwin AT cygwin DOT com>
Message-ID: <OO3cN7d--F-9@keemail.me>
Subject: Perl stopped working
MIME-Version: 1.0
X-Content-Filtered-By: Mailman/MimeDel 2.1.30
X-BeenThere: cygwin AT cygwin DOT com
X-Mailman-Version: 2.1.30
List-Id: General Cygwin discussions and problem reports <cygwin.cygwin.com>
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>
From: Michael via Cygwin <cygwin AT cygwin DOT com>
Reply-To: g2a_login AT keemail DOT me
Sender: "Cygwin" <cygwin-bounces~archive-cygwin=delorie DOT com AT cygwin DOT com>
X-MIME-Autoconverted: from base64 to 8bit by delorie.com id 53HGiZdg2714817

> echo 'print "Hello Perl\n"' | perl
does the same as "echo ''" - nothing.

also the following does "nothing":

echo 'print "Hello Perl\n";' > my.pl
perl my.pl

What has happened to my perl binary/perl environment?

>try
>echo 'print "Hello Perl\n"' | perl
>
>perhaps you're thinking of pythons REPL ?
>
>I sort of like
>perl -de 1
>to interact with perl
>
>
>On Thu, Apr 17, 2025 at 8:53 AM Michael via Cygwin <cygwin AT cygwin DOT com>
>wrote:
>
>> After running cygwin-setup and updating all cygwin-packages, perl no
>> longer seems to work (or maybe a coincidence).
>>
>> Executing "perl" without any argument normally let perl wait for input
>> from stdin/keyboard.
>> But it immediately returns to the prompt (same behavior as 'echo ""').
>> I can do
>> perl
>> perl -v
>> perl -e 'print "Hello Perl\n"'
>>
>> same result for all 3 of them (equal to 'echo ""').
>>
>> $ which perl
>> /usr/bin/perl
>>
>> $ file `which perl`
>> /usr/bin/perl: PE32+ executable (console) x86-64, for MS Windows, 12
>> sections
>>
>> $ cygcheck -c perl
>> Cygwin Package Information
>> Package              Version    Status
>> perl                 5.40.2-1       OK
>>
>> downgraded to previous version - same result.
>>
>> $ cygcheck -c perl
>> Cygwin Package Information
>> Package              Version    Status
>> perl                 5.40.1-1       OK
>>
>> executing e.g. sed or awk return the "Usage:"-page as normal
>> any idea?
>>
>> --
>> 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
>>

-- 
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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019