Change 15035 by jhi@alpha on 2002/03/05 03:08:50
Tie::File doc tweak for Win32 from mjd.
Affected files ...
.... //depot/perl/lib/Tie/File.pm#7 edit
Differences ...
==== //depot/perl/lib/Tie/File.pm#7 (text) ====
Index: perl/lib/Tie/File.pm
--- perl/lib/Tie/File.pm.~1~ Mon Mar 4 20:15:05 2002
+++ perl/lib/Tie/File.pm Mon Mar 4 20:15:05 2002
@@ -670,8 +670,9 @@
What is a 'record'? By default, the meaning is the same as for the
C<E<lt>...E<gt>> operator: It's a string terminated by C<$/>, which is
-probably C<"\n"> or C<"\r\n">. You may change the definition of
-"record" by supplying the C<recsep> option in the C<tie> call:
+probably C<"\n">. You may change the definition of "record" by
+supplying the C<recsep> option in the C<tie> call:
+
tie @array, 'Tie::File', $file, recsep => 'es';
@@ -686,6 +687,9 @@
"ky flies"
"!\n"
+Windows users will probably want to use C<recsep =E<gt> "\r\n"> to get
+files terminated with the usual CRLF sequence.
+
An undefined value is not permitted as a record separator. Perl's
special "paragraph mode" semantics (E<agrave> la C<$/ = "">) are not
emulated.
End of Patch.