in reply to Here documents in blocks

I would strongly suggest that you consider using something like Template::Toolkit even though you might not be producing "a web page." These are very useful in creating a separation of concerns between what you want to include and exactly how you want the finished text to look.

Replies are listed 'Best First'.
Re^2: Here documents in blocks
by Bod (Parson) on Dec 20, 2020 at 23:21 UTC
    I would strongly suggest that you consider using something like Template::Toolkit

    I think that's my bedtime reading sorted then...