summaryrefslogtreecommitdiff
path: root/pod/perlrun.pod
diff options
context:
space:
mode:
authorKarl Williamson <khw@khw-desktop.(none)>2010-06-22 16:03:02 -0600
committerJesse Vincent <jesse@bestpractical.com>2010-06-28 22:30:05 -0400
commit7ba31cb40054ae9f8ead85baf42185104bf7de1c (patch)
tree1bde5c56f39b5c00fbb69908dc71770b58c18f75 /pod/perlrun.pod
parentce7b6f06f41c076280ab53e616c11c68b71e5ef7 (diff)
downloadperl-7ba31cb40054ae9f8ead85baf42185104bf7de1c.tar.gz
perlrun.pod: Specify -0400 behavior
All values -0400 through -0777 have the same effect, even though previously -0777 was the only one mentioned..
Diffstat (limited to 'pod/perlrun.pod')
-rw-r--r--pod/perlrun.pod10
1 files changed, 6 insertions, 4 deletions
diff --git a/pod/perlrun.pod b/pod/perlrun.pod
index 1d91694278..51a87ee805 100644
--- a/pod/perlrun.pod
+++ b/pod/perlrun.pod
@@ -235,11 +235,13 @@ terminated by the null character, you can say this:
find . -name '*.orig' -print0 | perl -n0e unlink
The special value 00 will cause Perl to slurp files in paragraph mode.
-The value 0777 will cause Perl to slurp files whole because there is no
-legal byte with that value.
+Any value 0400 or above will cause Perl to slurp files whole, but by convention
+the value 0777 is the one normally used for this purpose.
-If you want to specify any Unicode character, use the hexadecimal
-format: C<-0xHHH...>, where the C<H> are valid hexadecimal digits.
+You can also specify the separator character using hexadecimal notation:
+C<-0xHHH...>, where the C<H> are valid hexadecimal digits. Unlike the octal
+form, this one may be used to specify any Unicode character, even those beyond
+0xFF.
(This means that you cannot use the C<-x> with a directory name that
consists of hexadecimal digits.)