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 <perl6-rfc@perl.org> 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. chaimf@pobox.com +1-718-236-0183Thread Previous | Thread Next