Change 17260 by jhi@alpha on 2002/06/16 17:06:31

        Deprecate (or at least discourage) :raw.

Affected files ...

.... //depot/perl/pod/perldelta.pod#456 edit

Differences ...

==== //depot/perl/pod/perldelta.pod#456 (text) ====
Index: perl/pod/perldelta.pod
--- perl/pod/perldelta.pod#455~17248~   Fri Jun 14 15:34:27 2002
+++ perl/pod/perldelta.pod      Sun Jun 16 10:06:31 2002
@@ -233,6 +233,15 @@
 
 =item *
 
+The PerlIO C<:raw> discipline (as described in Camel III) is deprecated
+because its definition (as either the discipline version of C<binmode(FH)>
+or as the opposite of C<:crlf>) didn't really work: most importantly
+because turning off "clrfness" is not enough to make a stream truly
+binary.  Instead of C<:raw> use one of the following: C<open(..., ':bytes')>,
+C<binmode(FH)>, C<sysopen()> + C<sysread()>.
+
+=item *
+
 The current user-visible implementation of pseudo-hashes (the weird
 use of the first array element) is deprecated starting from Perl 5.8.0
 and will be removed in Perl 5.10.0, and the feature will be
End of Patch.

Reply via email to