Re: CR at end of line - how do I parse this?

2003-07-09 Thread Fuchs, Christopher
>> How do I get Perl/Windows to keep the ^M so I can parse this? >binmode is your friend. Yes binmode was what I was missing. Thanks for everyone's help. -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: CR at end of line - how do I parse this?

2003-07-08 Thread Janek Schleicher
Christopher Fuchs wrote at Tue, 08 Jul 2003 14:29:50 -0700: > I have a perl script on UNIX which works properly for an ASCII > input data file which is in the form of: > > record 1 line 1 > record 1 line 2 > record 1 line 3^M > record 2 line 1 > etc > > The record delimiter is ^M (which is somet

Re: CR at end of line - how do I parse this?

2003-07-08 Thread Rob Dixon
Christopher Fuchs wrote: > Hello All: > > I have a perl script on UNIX which works properly for an ASCII > input data file which is in the form of: > > record 1 line 1 > record 1 line 2 > record 1 line 3^M > record 2 line 1 > etc > > The record delimiter is ^M (which is sometimes refered to as CR o

CR at end of line - how do I parse this?

2003-07-08 Thread Fuchs, Christopher
Hello All: I have a perl script on UNIX which works properly for an ASCII input data file which is in the form of: record 1 line 1 record 1 line 2 record 1 line 3^M record 2 line 1 etc The record delimiter is ^M (which is sometimes refered to as CR or \r). When run on a Windows box, the ^M is s