diff options
-rw-r--r-- | ext/Storable/Storable.xs | 2 | ||||
-rw-r--r-- | lib/Pod/InputObjects.pm | 4 | ||||
-rw-r--r-- | pod/perldebtut.pod | 2 |
3 files changed, 4 insertions, 4 deletions
diff --git a/ext/Storable/Storable.xs b/ext/Storable/Storable.xs index 9716b56c1f..1efbc0dd65 100644 --- a/ext/Storable/Storable.xs +++ b/ext/Storable/Storable.xs @@ -1226,7 +1226,7 @@ I32 flags; /* * array_call * - * Call routine obj->hook(cloning) in array context. + * Call routine obj->hook(cloning) in list context. * Returns the list of returned values in an array. */ static AV *array_call(obj, hook, cloning) diff --git a/lib/Pod/InputObjects.pm b/lib/Pod/InputObjects.pm index 9c89413222..352373b9da 100644 --- a/lib/Pod/InputObjects.pm +++ b/lib/Pod/InputObjects.pm @@ -393,7 +393,7 @@ sub parse_tree { my $position = $pod_para->file_line(); Returns the current filename and line number for the paragraph -object. If called in an array context, it returns a list of two +object. If called in a list context, it returns a list of two elements: first the filename, then the line number. If called in a scalar context, it returns a string containing the filename, followed by a colon (':'), followed by the line number. @@ -686,7 +686,7 @@ sub parse_tree { my $position = $pod_seq->file_line(); Returns the current filename and line number for the interior sequence -object. If called in an array context, it returns a list of two +object. If called in a list context, it returns a list of two elements: first the filename, then the line number. If called in a scalar context, it returns a string containing the filename, followed by a colon (':'), followed by the line number. diff --git a/pod/perldebtut.pod b/pod/perldebtut.pod index b553aa40ef..93fa69da13 100644 --- a/pod/perldebtut.pod +++ b/pod/perldebtut.pod @@ -168,7 +168,7 @@ break/watch/actions |[|]db_cmd Send output to pager ![!] syscmd Run cmd in a subprocess q or ^D Quit R Attempt a restart Data Examination: expr Execute perl code, also see: s,n,t expr - x|m expr Evals expr in array context, dumps the result or lists methods. + x|m expr Evals expr in list context, dumps the result or lists methods. p expr Print expression (uses script's current package). S [[!]pat] List subroutine names [not] matching pattern V [Pk [Vars]] List Variables in Package. Vars can be ~pattern or !pattern. |