# assume this is a snippet from a fully functional, declared, stricted script my $buffer; $buffer .= "content\n\n"; #or for long sets: $buffer .= < More content END