summaryrefslogtreecommitdiff
path: root/pod/perlfunc.pod
diff options
context:
space:
mode:
authorJarkko Hietaniemi <jhi@iki.fi>1998-12-08 08:11:27 +0000
committerJarkko Hietaniemi <jhi@iki.fi>1998-12-08 08:11:27 +0000
commitf2b52f348dbc295b553473d1499a3cb8ae7c7ba4 (patch)
tree86951395a5971a1722d48cfbc347e657f16c5eb8 /pod/perlfunc.pod
parent3c90161d4bd7f4664ad1fd91d4b4471a3fa0790c (diff)
parentacba1d67a98a60de898ada2fc3df1e9efc92b76d (diff)
downloadperl-f2b52f348dbc295b553473d1499a3cb8ae7c7ba4.tar.gz
Integrate from mainperl.
p4raw-id: //depot/cfgperl@2460
Diffstat (limited to 'pod/perlfunc.pod')
-rw-r--r--pod/perlfunc.pod4
1 files changed, 2 insertions, 2 deletions
diff --git a/pod/perlfunc.pod b/pod/perlfunc.pod
index 3b52b8413c..fa8454739f 100644
--- a/pod/perlfunc.pod
+++ b/pod/perlfunc.pod
@@ -15,7 +15,7 @@ operator. A unary operator generally provides a scalar context to its
argument, while a list operator may provide either scalar and list
contexts for its arguments. If it does both, the scalar arguments will
be first, and the list argument will follow. (Note that there can ever
-be only one list argument.) For instance, splice() has three scalar
+be only one such list argument.) For instance, splice() has three scalar
arguments followed by a list.
In the syntax descriptions that follow, list operators that expect a
@@ -1473,7 +1473,7 @@ L</last>, L</next>, and L</redo> for additional control flow.
Enter BLOCK as LOOPVAR set in turn to each element of LIST.
For example:
- foreach $rolling (@stones) { print "rolling $stone\n" }
+ foreach $rolling (@stones) { print "$rolling stone\n" }
foreach my $file (@files) { print "file $file\n" }