diff options
Diffstat (limited to 'pod')
-rw-r--r-- | pod/perlfunc.pod | 4 | ||||
-rw-r--r-- | pod/perlop.pod | 14 |
2 files changed, 10 insertions, 8 deletions
diff --git a/pod/perlfunc.pod b/pod/perlfunc.pod index 4d25fef4b5..d409319a09 100644 --- a/pod/perlfunc.pod +++ b/pod/perlfunc.pod @@ -290,8 +290,8 @@ X<-S>X<-b>X<-c>X<-t>X<-u>X<-g>X<-k>X<-T>X<-B>X<-M>X<-A>X<-C> -g File has setgid bit set. -k File has sticky bit set. - -T File is a text file. - -B File is a binary file (opposite of -T). + -T File is an ASCII text file. + -B File is a "binary" file (opposite of -T). -M Age of file in days when script started. -A Same for access time. diff --git a/pod/perlop.pod b/pod/perlop.pod index f70311b8e1..106b9a9a87 100644 --- a/pod/perlop.pod +++ b/pod/perlop.pod @@ -365,12 +365,14 @@ Use "or" for assignment is unlikely to do what you want; see below. Binary ".." is the range operator, which is really two different operators depending on the context. In list context, it returns an -array of values counting (by ones) from the left value to the right -value. This is useful for writing C<foreach (1..10)> loops and for -doing slice operations on arrays. In the current implementation, no -temporary array is created when the range operator is used as the -expression in C<foreach> loops, but older versions of Perl might burn -a lot of memory when you write something like this: +array of values counting (up by ones) from the left value to the right +value. If the left value is greater than the right value then it +returns the empty array. The range operator is useful for writing +C<foreach (1..10)> loops and for doing slice operations on arrays. In +the current implementation, no temporary array is created when the +range operator is used as the expression in C<foreach> loops, but older +versions of Perl might burn a lot of memory when you write something +like this: for (1 .. 1_000_000) { # code |