www.delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin-apps/2001/08/26/16:31:50

Mailing-List: contact cygwin-apps-help AT sourceware DOT cygnus DOT com; run by ezmlm
Sender: cygwin-apps-owner AT sourceware DOT cygnus DOT com
List-Subscribe: <mailto:cygwin-apps-subscribe AT sources DOT redhat DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin-apps/>
List-Post: <mailto:cygwin-apps AT sources DOT redhat DOT com>
List-Help: <mailto:cygwin-apps-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/lists.html#faqs>
Delivered-To: mailing list cygwin-apps AT sources DOT redhat DOT com
From: "Gerrit P. Haase" <gp AT familiehaase DOT de>
Organization: Esse keine toten Tiere
To: cygwin-apps AT cygwin DOT com
Date: Sun, 26 Aug 2001 22:33:09 +0200
MIME-Version: 1.0
Subject: perl with automode
Reply-to: gp AT familiehaase DOT de
Message-ID: <3B897925.15198.12B5ECFC@localhost>
X-mailer: Pegasus Mail for Win32 (v3.12cDE)
X-Sender: 320081107336-0001 AT t-dialin DOT net

Charles wrote:
>Maybe Chris' chomp() suggestion is the right thing.

However, i built a perl with automode linked in.  I think
this chomp() problem, if there is one, is an additional one,
say a second bug.  But i've never heard of a chomp() bug;)

The first is, i want perl to write back to files like i read
them in, textmode, binmode, textmount, binmount, that should
make no difference if i try to read in a file in memory,
close it and write back to another file, there should be no
additional CR or LF all the time (as it happens if i am on a
text mount).
For doing this, i don't want to use chomp().

Please get a copy and try if it works, i've tested not that
much, so this is an EXPERIMENTAL release.

http://familiehaase.de/cywgin/perl/

Gerrit


-- 
=^..^=

- Raw text -


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