[Date Prev][Date Next][Thread Prev][Thread Next] [Search] [Date Index] [Thread Index]

[MacPerl] When is \r really \n in MacPerl!?



Mark F. Murphy <markm@mail.tyrell.com> wrote:

> So now I must use \x0D\x0A instead if
> I want to program around MacPerl's difference in the Perl community.

Hmm. If you want to auto-convert line-endings yourself, you _must_ do it
with explicit \x0A and \x0D - even if MacPerl would handle \n \r
differently. Actually there are several systems out there, and many of
them have different understandings of line-endings. With \x0A and \x0D
you are on the save side in every case.

bye, Georg

***** Want to unsubscribe from this list?
***** Send mail with body "unsubscribe" to mac-perl-request@iis.ee.ethz.ch