Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com
Date: Mon, 22 Jul 2002 16:03:36 +0200
From: "Gerrit P. Haase" <freeweb@nyckelpiga.de>
Reply-To: "Gerrit P. Haase" <freeweb@nyckelpiga.de>
Organization: Esse keine toten Tiere
X-Priority: 3 (Normal)
Message-ID: <81876324317.20020722160336@familiehaase.de>
To: Greg Matheson <lang@ms.chinmin.edu.tw>
CC: cygwin@cygwin.com
Subject: Re: perl & \n (was: perl-5.8.0 breaks code "working" on 5.6.1 over "\n"
In-Reply-To: <20020722150604.A85877@ms.chinmin.edu.tw>
References: <20020722150604.A85877@ms.chinmin.edu.tw>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit

Greg schrieb:

> This is a followup to my email about differences between the way
> perl-5.8.0 and perl-5.6.1 handle \n. This is a cygwin problem
> but also one about portable code.

Just a few little questions:

[...]

> In any case, with the aim being to write portable code that also
> works on cygwin whether you are using 5.6.1 or 5.8.0, what do we
> suggest to developers? I don't think you want to force a binary
> file mail message format on cygwin users, because this would mean
> you couldn't use Windows applications.

notepad is the only application on earth that cannot handle \n as a
linefeed as every other editor does.  Which other applications did I
missed to hate?

> I also don't think developers are keen on sprinkling binmode all
> through their IO routines either, especially when it won't help
> solve Win32 problems.

I assume you have not set PERLIO env variable?

Have you also tried your experiments with:
1. PERLIO=perlio
2. PERLIO=stdio
3. PERLIO=

Would be interesting to see if it makes a difference.


Gerrit
-- 
=^..^=


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

