summaryrefslogtreecommitdiff
path: root/pod
diff options
context:
space:
mode:
authorGurusamy Sarathy <gsar@cpan.org>1999-12-30 19:35:07 +0000
committerGurusamy Sarathy <gsar@cpan.org>1999-12-30 19:35:07 +0000
commit53129d29569a85455957955379fd49abdaaf8185 (patch)
treee5ec616a792a9b6e0a815dfcd1f645948d9b4aff /pod
parentc39cd00800303e8967294e98aa4c427a1872a251 (diff)
downloadperl-53129d29569a85455957955379fd49abdaaf8185.tar.gz
leave DATA open in binmode if __END__ line doesn't have CRLF
p4raw-id: //depot/perl@4740
Diffstat (limited to 'pod')
-rw-r--r--pod/perldelta.pod5
1 files changed, 4 insertions, 1 deletions
diff --git a/pod/perldelta.pod b/pod/perldelta.pod
index d070aa25dc..47f7c26651 100644
--- a/pod/perldelta.pod
+++ b/pod/perldelta.pod
@@ -1045,7 +1045,10 @@ has been added.
Scripts are read in binary mode by default to allow ByteLoader (and
the filter mechanism in general) to work properly. For compatibility,
-the DATA filehandle continues to be set to text mode.
+the DATA filehandle will be set to text mode if a carriage return is
+detected at the end of the line containing the __END__ or __DATA__
+token; if not, the DATA filehandle will be left open in binary mode.
+Earlier versions always opened the DATA filehandle in text mode.
[TODO - GSAR]