in reply to Indented HEREDOC?
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.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Indented HEREDOC?
by reasonablekeith (Deacon) on May 26, 2006 at 08:41 UTC | |
by Ovid (Cardinal) on May 26, 2006 at 23:27 UTC |