From: Ken Williams Date: Tue, 11 Aug 2009 16:25:07 +0000 (-0500) Subject: Removed '...' ellipses from docs about '...' flip-flop operator X-Git-Tag: accepted/trunk/20130322.191538~10935 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=f343f96080e78c71ab2469cb962e36ef6f25bf85;p=platform%2Fupstream%2Fperl.git Removed '...' ellipses from docs about '...' flip-flop operator --- diff --git a/pod/perlop.pod b/pod/perlop.pod index 23f62e0..1df9fcb 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