Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT sources DOT redhat DOT com Delivered-To: mailing list cygwin AT sources DOT redhat DOT com X-Apparently-From: Message-ID: <3A6E3FA0.2B69B5EB@yahoo.com> Date: Tue, 23 Jan 2001 21:36:16 -0500 From: Earnie Boyd Reply-To: cygwin AT sources DOT redhat DOT com X-Mailer: Mozilla 4.76 [en] (X11; U; Linux 2.2.171 i686) X-Accept-Language: en MIME-Version: 1.0 To: Josh Schulte CC: cygwin AT sources DOT redhat DOT com Subject: Re: Odd/New Perl Behavior (Bug In Perl?) References: <67677D360C1FD411BB4000B0D02080418031DA AT eqexchange DOT equildom DOT equilibrium DOT com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Josh Schulte wrote: > I haven't upgraded cywgin for 6 months now. And now that I did I am > having some problems with my old perl scripts. It appears split used to > use \n as \r\n and put just the lines of text in the array elements. But > now perl is storing the lines and a \r. I wrote a sample script to > illustrate the problem. Notice how the first two stars in the line are > overwritten by the -> at the end of the print statement. > > Is this expected behavior or is there a bug in Perl for cygwin? It > certianly doesn't seem desierable because the same script run on unix > and cygwin will produce different results. Prior to your last update you had text mode (DOS mode) mounts. When you updated you chose UNIX mode mounts. The easiest thing to do is to run setup again and choose DOS mode to convert back to text mode mounts. Executing setup again will not download or install any files unless something had errors or a new or updated package was added since you last executed it. Cheers, Earnie. _________________________________________________________ Do You Yahoo!? Get your free @yahoo.com address at http://mail.yahoo.com -- Want to unsubscribe from this list? Check out: http://cygwin.com/ml/#unsubscribe-simple