Re: RFC 69 (v2) Standardize input record separator (for
[email protected] (Chaim Frenkel) 10 Aug 2000 18:22:09 -0400
| Newsgroups | perl.perl6.language.io |
|---|---|
| Message-ID | <[email protected]> |
I also think you are missing a point. The stdio library (or it's returns "\n" for the native line endings. The un-RFCed stdio replacement (sfio or a perl home grown one) might do the same. So... The correct line ending is "\n", you are adding an other line ending for the non-native version. I'd claim that this is closer to the IO layer rather than another pragma. <chaim> >>>>> "SH" == Simply Hao <[email protected]> writes: >> But there is no way that I want under, any circumstance, _all_ >> line endings active at the same time. SH> Why not? SH> Well, how about this proposal then? SH> DOS, Mac, Unix: SH> use newlines "\015\012", "\012", "\015"; SH> OS/390: SH> use newlines "\r", "\025"; SH> Weird OS: SH> use newlines "\t"; SH> Something like that? SH> Okay, maybe what I really want is $/ to be a regex. SH> -Hao -- Chaim Frenkel Nonlinear Knowledge, Inc. [email protected] +1-718-236-0183