Re: RFC 69 (v1) Standardize input record separator (for
[email protected] (Chaim Frenkel) 09 Aug 2000 10:34:27 -0400
| Newsgroups | perl.perl6.language.io |
|---|---|
| Message-ID | <[email protected]> |
Please explain in what way "\n" is not safe on all platforms? On all platforms, the actual line seperators are translated (except under binmode()) to "\n". If you do decide to switch to binmode() you are in non-portable territory. <chaim> >>>>> "PRL" == Perl6 RFC Librarian <[email protected]> writes: PRL> =head1 ABSTRACT PRL> The default input record separator is not safe for all input files PRL> on all platforms. PRL> =head1 DESCRIPTION PRL> For easier portability, the default input record separator should PRL> at least match /\015?\012/, so that the following works on as many PRL> platforms as possible: -- Chaim Frenkel Nonlinear Knowledge, Inc. [email protected] +1-718-236-0183