Skip to content

Commit

Permalink
[ops] use the same code consistently in example and explanation
Browse files Browse the repository at this point in the history
  • Loading branch information
moritz committed May 15, 2010
1 parent 063bc7a commit 6858b1d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/operators.pod
Expand Up @@ -192,7 +192,8 @@ Now all the necessary informations are in place and the chart can be printed:
=begin programlisting

for @scores {
printf "%- {$label-area-width}s%s\n", .key, 'X' x ($unit * .value);
my $format = '%- ' ~ $label-area-width ~ "s%s\n";
printf $format, .key, 'X' x ($unit * .value);
}

=end programlisting
Expand Down

0 comments on commit 6858b1d

Please sign in to comment.