Michael Schwern wrote:
>See, I never understood this. If you're indenting the terminator, it
>implies you're also indenting the here-doc text. I mean, this doesn't
>make any sense:
>
>{ { { {
> print <<TAG;
>I don't know what their
>gripe is. A critic is
>simply someone paid to
>render opinions glibly.
> TAG
>} } } }
>
>Right? You're not going to just indent the terminator because you
>can. Its going to go along with indenting the text.
>
>So indenting the terminator and indenting the text are linked. If you
>do one, you want to do the other.
Don't tell me what I want to do :-)
$chunk1 = <<CHUNK1;
<table>
<tr>
<td class=m1>
text that's in the table cell
</td>
</tr>
CHUNK1
$chunk2 = <<CHUNK2;
<tr>
<td class=m2>
text that's in another table cell
</td>
</tr>
CHUNK2
$chunk3 = <<CHUNK3;
</table>
CHUNK3
The here-doc terminators all line up with the perl code.
The generated program is nicely indented relative to the left margin.
----------------------------------------------------------------------
Eric J. Roode, [EMAIL PROTECTED] print scalar reverse sort
Senior Software Engineer 'tona ', 'reh', 'ekca', 'lre',
Myxa Corporation '.r', 'h ', 'uj', 'p ', 'ts';