Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Message-ID: <418ABB03.5060208@familiehaase.de> Date: Fri, 05 Nov 2004 00:28:03 +0100 From: "Gerrit P. Haase" Organization: Esse keine toten Tiere User-Agent: Mozilla/5.0 (Windows; U; WinNT4.0; de-AT; rv:1.7.3) Gecko/20040910 MIME-Version: 1.0 To: cygwin AT cygwin DOT com Subject: Re: Perl binmode problem on text mount References: <41897FF4 DOT 1080501 AT agilent DOT com> <418A9BF3 DOT 5010903 AT familiehaase DOT de> <20041104212608 DOT GC16067 AT trixie DOT casa DOT cgf DOT cx> <418AA3FA DOT 7080905 AT familiehaase DOT de> <20041104220056 DOT GG16067 AT trixie DOT casa DOT cgf DOT cx> In-Reply-To: Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-IsSubscribed: yes Igor Pechtchanski wrote: > FWIW, the following two invocations of perl from a text mount differ in > their result: > > perl -e 'open OUT,">q.txt";binmode OUT;print OUT "Hello\n"' > perl -e 'binmode STDOUT;print STDOUT "Hello\n"' > q.txt Yes, that is the interesting part, perl does all correct when writing directly to a real file, but when the the output is redirected, binmode is ignored. Gerrit -- =^..^= -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/