Skip to content

Commit

Permalink
Pod::To::Text: Avoid concatenationg Nils
Browse files Browse the repository at this point in the history
see Raku/doc#92, kmetcalf++
  • Loading branch information
moritz committed Jul 11, 2015
1 parent 97ebe47 commit 5a6a672
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/Pod/To/Text.pm
Expand Up @@ -22,8 +22,8 @@ sub pod2text($pod) is export {
when Pod::Item { item2text($pod).indent(2) }
when Pod::FormattingCode { formatting2text($pod) }
when Positional { $pod.map({pod2text($_)}).join("\n\n")}
when Pod::Block::Comment { }
when Pod::Config { }
when Pod::Block::Comment { '' }
when Pod::Config { '' }
default { $pod.Str }
}
}
Expand Down

0 comments on commit 5a6a672

Please sign in to comment.