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
In reply to Re: use of string terminator within a subroutine
by bobf
in thread use of string terminator within a subroutine
by o2bwise
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |