Removed '...' ellipses from docs about '...' flip-flop operator
authorKen Williams <ken.williams@thomsonreuters.com>
Tue, 11 Aug 2009 16:25:07 +0000 (11:25 -0500)
committerDavid Mitchell <davem@iabyn.com>
Tue, 11 Aug 2009 22:29:34 +0000 (23:29 +0100)
pod/perlop.pod

index 23f62e0..1df9fcb 100644 (file)
@@ -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