I have a Perl script that displays html that allows people to upload 
line-delimited text files, which the Perl script then reads with a

@records = <FH>;

It's been working for years, until recently a Mac user tried it.

Apparently the Mac only puts \r (0x0d) at the end of each line, whereas 
other platforms seem to put \r\n(0x0d, 0x0a), which seems to defeat the 
"@records = <FH>" logic.

Anyone have a workaround? Not only for replacing the \r's with \r\n's, but 
also to detect whether it's required.

Thanks!

Steve


_______________________________________________
Perl-Win32-Web mailing list
[EMAIL PROTECTED]
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs

Reply via email to