This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
fix spelling err in pod re environmental variable
[perl5.git] / pod / perlrun.pod
index 1d91694..75e7ce1 100644 (file)
@@ -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.)
 
@@ -1270,14 +1272,15 @@ See also hash_seed() of L<Hash::Util>.
 =item PERL_MEM_LOG
 X<PERL_MEM_LOG>
 
-If your perl was configured with C<-Accflags=-DPERL_MEM_LOG>, setting the
-environment variable C<PERL_MEMLOG> enables logging debug messages. The
-value has the form C<< <number>[m][s][t] >>, where C<number> is the
-filedescriptor number you want to write to, and the combination of letters
-specifies that you want information about (m)emory and/or (s)v, optionally
-with (t)imestamps. For example C<PERL_MEMLOG=1mst> will log all
-information to stdout. You can write to other opened filedescriptors too,
-in a variety of ways;
+If your perl was configured with C<-Accflags=-DPERL_MEM_LOG>, setting
+the environment variable C<PERL_MEM_LOG> enables logging debug
+messages. The value has the form C<< <number>[m][s][t] >>, where
+C<number> is the filedescriptor number you want to write to (2 is
+default), and the combination of letters specifies that you want
+information about (m)emory and/or (s)v, optionally with
+(t)imestamps. For example C<PERL_MEM_LOG=1mst> will log all
+information to stdout. You can write to other opened filedescriptors
+too, in a variety of ways;
 
   bash$ 3>foo3 PERL_MEM_LOG=3m perl ...