summaryrefslogtreecommitdiff
path: root/pod/perlembed.pod
diff options
context:
space:
mode:
authorDaniel Chetlin <daniel@chetlin.com>2000-08-03 17:22:44 -0700
committerJarkko Hietaniemi <jhi@iki.fi>2000-08-04 12:26:33 +0000
commit90fdbbb75512007b809510f03fc507ff5c145e16 (patch)
tree49ec382ac772ca6ab35d1efbd12fadd4a242db02 /pod/perlembed.pod
parent9300ef0fea165be49d88144848cf782932f9cfb9 (diff)
downloadperl-90fdbbb75512007b809510f03fc507ff5c145e16.tar.gz
Re: Array vs. List context
Message-ID: <20000804002244.A5924@ilmd.chetlin.org> p4raw-id: //depot/perl@6522
Diffstat (limited to 'pod/perlembed.pod')
-rw-r--r--pod/perlembed.pod4
1 files changed, 2 insertions, 2 deletions
diff --git a/pod/perlembed.pod b/pod/perlembed.pod
index dce785e6c2..1787e4b2eb 100644
--- a/pod/perlembed.pod
+++ b/pod/perlembed.pod
@@ -356,7 +356,7 @@ made.
int matches(SV *string, char *pattern, AV **matches);
Given an C<SV>, a pattern, and a pointer to an empty C<AV>,
-matches() evaluates C<$string =~ $pattern> in an array context, and
+matches() evaluates C<$string =~ $pattern> in a list context, and
fills in I<matches> with the array elements, returning the number of matches found.
Here's a sample program, I<match.c>, that uses all three (long lines have
@@ -434,7 +434,7 @@ been wrapped here):
/** matches(string, pattern, matches)
**
- ** Used for matches in an array context.
+ ** Used for matches in a list context.
**
** Returns the number of matches,
** and fills in **matches with the matching substrings