Re: Reading separate lines of mac file on windows box -SOLVED

2007-12-17 Thread Oliver Thieke
>>$/=\015; > You're giving it a (reference to a) number > (hence the fixed size buffer); instead give > it the character: '$/="\r"' should work. Hmmph - I knew it would be one of those little details ;-). Great - now it works fine ! Thanx ! Greetings Oliver ___

Re: Reading separate lines of mac file on windows box

2007-12-17 Thread Kenneth Ă–lwing
>$/=\015; > You're giving it a (reference to a) number (hence the fixed size buffer); instead give it the character: '$/="\r"' should work. ken1 ___ Perl-Win32-Users mailing list Perl-Win32-Users@listserv.ActiveState.com To unsubscribe: http://

Reading separate lines of mac file on windows box

2007-12-17 Thread Oliver Thieke
Hi out there at the screens, Currently I'm banging my head against a brick wall... On a windows box - using ASPN perl 5.8 for win32 - I want to read a mac file, line by line... Mac files end a line with "\x0D"... Hence win32-perl doesn't recognize them correctly by default I searched the web