Skip to content
Browse files

Removed stale references to " vs " in table tennis data

  • Loading branch information...
1 parent e45d20d commit eb5b12d22cf2d5563c66e6e61dd56382d0017213 @timo timo committed Jan 25, 2012
Showing with 5 additions and 5 deletions.
  1. +5 −5 src/basics.pod
View
10 src/basics.pod
@@ -209,8 +209,8 @@ to the current value of each iteration. C<$file.lines> produces a list of the
lines read from the file F<scores>, starting with the line where the previous
calls to C<$file.get> left off, and going all the way to the end of the file.
-During the first iteration, C<$line> will contain the string C<Ana vs Dave |
-3:0>; during the second, C<Charlie vs Beth | 3:1>, and so on.
+During the first iteration, C<$line> will contain the string C<Ana Dave |
+3:0>; during the second, C<Charlie Beth | 3:1>, and so on.
=begin programlisting
@@ -229,8 +229,8 @@ produces the original string.
C<$pairing> gets the first item of the returned list, and
C<$result> the second.
-After processing the first line, C<$pairing> will hold the string C<Ana vs
-Dave> and C<$result> C<3:0>.
+After processing the first line, C<$pairing> will hold the string C<Ana Dave>
+and C<$result> C<3:0>.
The next two lines follow the same pattern:
@@ -563,7 +563,7 @@ keys, and look in this hash when the name of a player is read:
for $file.lines -> $line {
my ($pairing, $result) = $line.split(' | ');
- my ($p1, $p2) = $pairing.split(' vs ');
+ my ($p1, $p2) = $pairing.split(' ');
B<< for $p1, $p2 -> $p { >>
B< if !%legitimate-players{$p} {>
B< say "Warning: '$p' is not on our list!";>

0 comments on commit eb5b12d

Please sign in to comment.
Something went wrong with that request. Please try again.