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

Reply via email to