diff options
author | Jarkko Hietaniemi <jhi@iki.fi> | 2002-06-17 13:56:33 +0000 |
---|---|---|
committer | Jarkko Hietaniemi <jhi@iki.fi> | 2002-06-17 13:56:33 +0000 |
commit | d5563ed7fd46e9485baaa3b43c79a6a71c7b4740 (patch) | |
tree | f2c56f1ea1bd2b836c2c04b806e7c2ff19009333 /lib/open.pm | |
parent | d77d04a3e8f761ce8f9aa940083e07bc8db0fa85 (diff) | |
download | perl-d5563ed7fd46e9485baaa3b43c79a6a71c7b4740.tar.gz |
Further discouraging of :raw.
p4raw-id: //depot/perl@17271
Diffstat (limited to 'lib/open.pm')
-rw-r--r-- | lib/open.pm | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/open.pm b/lib/open.pm index aab99fb713..872d8ea56c 100644 --- a/lib/open.pm +++ b/lib/open.pm @@ -146,7 +146,7 @@ open - perl pragma to set default disciplines for input and output =head1 SYNOPSIS - use open IN => ":crlf", OUT => ":raw"; + use open IN => ":crlf", OUT => ":bytes"; use open OUT => ':utf8'; use open IO => ":encoding(iso-8859-7)"; @@ -263,9 +263,9 @@ Directory handles may also support disciplines in future. =head1 NONPERLIO FUNCTIONALITY If Perl is not built to use PerlIO as its IO system then only the two -pseudo-disciplines ":raw" and ":crlf" are available. +pseudo-disciplines C<:bytes> and C<:crlf> are available. -The ":raw" discipline corresponds to "binary mode" and the ":crlf" +The C<:bytes> discipline corresponds to "binary mode" and the C<:crlf> discipline corresponds to "text mode" on platforms that distinguish between the two modes when opening files (which is many DOS-like platforms, including Windows). These two disciplines are no-ops on |