I figured... Let's at least reuse the variable then (without a blank line)?

Out of curiosity, what do you think of the Ruby equivalent where the operation appears at the top:

    txt = <<EOS.split
    ...
    EOS