diff options
author | Prymmer/Kahn <pvhp@best.com> | 2000-10-22 15:18:40 -0700 |
---|---|---|
committer | Jarkko Hietaniemi <jhi@iki.fi> | 2000-10-23 12:07:41 +0000 |
commit | d5d9880cc2523c10f7be68257f4f1768a4e552d9 (patch) | |
tree | b455829c8f577c1acccf0ddfa03333aaa06c0d57 | |
parent | e0d5f7b4838e69a86f052af5fc7a763169e75aa8 (diff) | |
download | perl-d5d9880cc2523c10f7be68257f4f1768a4e552d9.tar.gz |
miscellaneous typos in 3 pods
Message-ID: <Pine.BSF.4.21.0010222214150.11774-100000@shell8.ba.best.com>
p4raw-id: //depot/perl@7411
-rw-r--r-- | README.aix | 2 | ||||
-rw-r--r-- | pod/perlebcdic.pod | 13 | ||||
-rw-r--r-- | vms/ext/Stdio/Stdio.pm | 4 |
3 files changed, 12 insertions, 7 deletions
diff --git a/README.aix b/README.aix index 6346a180b2..0b14612fd9 100644 --- a/README.aix +++ b/README.aix @@ -14,7 +14,7 @@ compiled and/or runs. =head2 Compiling Perl 5 on AIX -When compiling Perl, you must use an ANSI C compiler. AIX does not shif +When compiling Perl, you must use an ANSI C compiler. AIX does not ship an ANSI compliant C-compiler with AIX by default, but binary builds of gcc for AIX are widely available. diff --git a/pod/perlebcdic.pod b/pod/perlebcdic.pod index 4ef5eca2d0..12ea2f3ef4 100644 --- a/pod/perlebcdic.pod +++ b/pod/perlebcdic.pod @@ -501,7 +501,8 @@ provide easy to use ASCII to EBCDIC operations that are also easily reversed. For example, to convert ASCII to code page 037 take the output of the second -column from the output of recipe 0 and use it in tr/// like so: +column from the output of recipe 0 (modified to add \\ characters) and use +it in tr/// like so: $cp_037 = '\000\001\002\003\234\011\206\177\227\215\216\013\014\015\016\017' . @@ -524,15 +525,19 @@ column from the output of recipe 0 and use it in tr/// like so: my $ebcdic_string = $ascii_string; eval '$ebcdic_string =~ tr/\000-\377/' . $cp_037 . '/'; -To convert from EBCDIC to ASCII just reverse the order of the tr/// +To convert from EBCDIC 037 to ASCII just reverse the order of the tr/// arguments like so: my $ascii_string = $ebcdic_string; - eval '$ascii_string = tr/' . $code_page_chrs . '/\000-\037/'; + eval '$ascii_string = tr/' . $cp_037 . '/\000-\377/'; + +Similarly one could take the output of the third column from recipe 0 to +obtain a C<$cp_1047> table. The fourth column of the output from recipe +0 could provide a C<$cp_posix_bc> table suitable for transcoding as well. =head2 iconv -XPG4 operability often implies the presence of an I<iconv> utility +XPG operability often implies the presence of an I<iconv> utility available from the shell or from the C library. Consult your system's documentation for information on iconv. diff --git a/vms/ext/Stdio/Stdio.pm b/vms/ext/Stdio/Stdio.pm index b51f2c9f15..446b0785e1 100644 --- a/vms/ext/Stdio/Stdio.pm +++ b/vms/ext/Stdio/Stdio.pm @@ -134,7 +134,7 @@ This package C<ISA> IO::File, so that you can call IO::File methods on the handles returned by C<vmsopen> and C<vmssysopen>. The IO::File package is not initialized, however, until you actually call a method that VMS::Stdio doesn't provide. This -is doen to save startup time for users who don't wish to use +is done to save startup time for users who don't wish to use the IO::File methods. B<Note:> In order to conform to naming conventions for Perl @@ -201,7 +201,7 @@ true value if successful, and C<undef> if it fails. This function sets the default device and directory for the process. It is identical to the built-in chdir() operator, except that the change persists after Perl exits. It returns a true value on success, and -C<undef> if it encounters and error. +C<undef> if it encounters an error. =item sync |