in reply to use of string terminator within a subroutine

apotheon wrote a tutorial on quotes in Perl, which you might find interesting (specifically the parts about HERE docs). Also in that thread, I illustrated how you can include leading whitespace before the tag, and how HERE docs can be used in code blocks without messing up the indentation.

HTH

  • Comment on Re: use of string terminator within a subroutine