WJFFM!
$ perl --version
This is perl 5, version 40, subversion 1 (v5.40.1) built for
x86_64-cygwin-threads-multi
(with 3 registered patches, see perl -V for more detail)
Copyright 1987-2025, Larry Wall
Perl may be copied only under the terms of either the Artistic License or the
GNU General Public License, which may be found in the Perl 5 source kit.
Complete documentation for Perl, including FAQ lists, should be found on
this system using "man perl" or "perldoc perl". If you have access to the
Internet, point your browser at https://www.perl.org/, the Perl Home Page.
$ echo 'print "Hello Perl\n"' | perl
Hello Perl
On 2025-04-17 10:22, David Dyck via Cygwin wrote:
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 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
--
Take care. Thanks, Brian Inglis Calgary, Alberta, Canada
La perfection est atteinte Perfection is achieved
non pas lorsqu'il n'y a plus rien à ajouter not when there is no more to add
mais lorsqu'il n'y a plus rien à retrancher but when there is no more to cut
-- Antoine de Saint-Exupéry
--
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