Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
missing statement terminator in example. also, use B<< .. >> so
that -> is rendered bold.

Signed-off-by: Moritz Lenz <moritz@faui2k3.org>
  • Loading branch information
Prakash Kailasa authored and moritz committed May 15, 2010
1 parent 6858b1d commit 199a8e1
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/basics.pod
Expand Up @@ -473,8 +473,8 @@ keys, and look in this hash when the name of a player is read:

...
my @names = $file.get.split(' ');
B<my %legitimate-players>
B<for @names ->>B< $n {>
B<my %legitimate-players;>
B<< for @names -> $n { >>
B< %legitimate-players{$n} = 1;>
B<}>

Expand All @@ -483,7 +483,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 ');
B<for $p1, $p2 ->>B< $p {>
B<< for $p1, $p2 -> $p { >>
B< if !%legitimate-players{$p} {>
B< say "Warning: '$p' is not on our list!";>
B< }>
Expand Down

0 comments on commit 199a8e1

Please sign in to comment.