I posted a snippet which will handle this at Unindent HERE docs. Also, if you want to indent the closing token, put the leading token in quotes.
print <<' END'; This is text. END
Cheers,
Ovid
New address of my CGI Course.
In reply to Re: Indented HEREDOC?
by Ovid
in thread Indented HEREDOC?
by Withigo
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |