This is the mail archive of the
mailing list for the Cygwin project.
Re: Updated: perl-5.8.0-2
- From: Rolf Campbell <rcampbell at tropicnetworks dot com>
- To: cygwin at cygwin dot com
- Date: Tue, 01 Apr 2003 11:13:23 -0500
- Subject: Re: Updated: perl-5.8.0-2
- References: <83040F98B407E6428FEC18AC720F5D732DB804@exchange.tropicnetworks.com> <firstname.lastname@example.org>
Gerrit P. Haase wrote:
So, is this a cygwin perl problem? Or has the stock perl decided
to only work with magic ENV variables?
I don't see the problem in the latest Perl (5.9.0) and I'm trying to
figure out how it can be fixed, in the meantime, please try to use the
magic PERLIO=perlio setting for your environment.
Ok, using PERLIO=perlio, but I'm still having a problem (which worked in
the previous version of Perl).
2:$/ = "\r\n";
4:open( LOG, "<in" ) ||
5: die "Could not open log.\n";
6:binmode LOG, ":crlf";
8:$in = <LOG>;
in (od -c in):
0000000 a b c \r \n d e f \r \n
This is on a BINMODE mount. This script outputs "0000000 a b c
\n d e f \n". If I go back to prev Perl, OR remove line#2 OR
remove line#6, then it outputs "0000000 a b c \n"
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html