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,
$/=\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:
$/=\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