Skip to content

Commit

Permalink
added comment, suggested by mberends++
Browse files Browse the repository at this point in the history
  • Loading branch information
Carl Masak committed Jan 31, 2009
1 parent 092268d commit 1fb7066
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions lib/Druid/View/Text.pm
Expand Up @@ -33,6 +33,9 @@ class Druid::View::Text is Druid::View {
# Returns a string containing an ASCII picture of an empty druid board of
# the given size.
sub make_empty_board($size) {
# The 'join $sep, gather { ... }' pattern makes us put a long string
# together, without having to refer to the same variable over and
# over.
return join "\n", gather {
take '';
take my $heading
Expand Down

0 comments on commit 1fb7066

Please sign in to comment.