diff options
author | Ken Williams <ken.williams@thomsonreuters.com> | 2009-08-11 11:25:07 -0500 |
---|---|---|
committer | David Mitchell <davem@iabyn.com> | 2009-08-12 00:12:59 +0100 |
commit | 74986c3233fd73d2a92cf989abd9f330c87a1a54 (patch) | |
tree | 87d76fa8ff8fd01709854a2c232f1babd309a2ce | |
parent | 620e8be9d931e0cf5a0c41c01025e80dbc30b1e9 (diff) | |
download | perl-74986c3233fd73d2a92cf989abd9f330c87a1a54.tar.gz |
Removed '...' ellipses from docs about '...' flip-flop operator
(cherry picked from commit f343f96080e78c71ab2469cb962e36ef6f25bf85)
-rw-r--r-- | pod/perlop.pod | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/pod/perlop.pod b/pod/perlop.pod index 75fc54c7c6..fe995259c5 100644 --- a/pod/perlop.pod +++ b/pod/perlop.pod @@ -602,10 +602,10 @@ Examples: As a scalar operator: if (101 .. 200) { print; } # print 2nd hundred lines, short for - # if ($. == 101 .. $. == 200) ... + # if ($. == 101 .. $. == 200) { print; } next LINE if (1 .. /^$/); # skip header lines, short for - # ... if ($. == 1 .. /^$/); + # next LINE if ($. == 1 .. /^$/); # (typically in a loop labeled LINE) s/^/> / if (/^$/ .. eof()); # quote body @@ -615,9 +615,9 @@ As a scalar operator: $in_header = 1 .. /^$/; $in_body = /^$/ .. eof; if ($in_header) { - # ... + # do something } else { # in body - # ... + # do something else } } continue { close ARGV if eof; # reset $. each file |