Eric Roode wrote:
> 
> I suggest that there be NO tab/space conversion.

I also suggest that no whitespace stripping/appending/etc/etc be done at
all. If I write:

  if ( $its_all_good ) {
         print <<EOF;
             Thank goodness this text is centered!
         EOF
  }

That should print out:

             Thank goodness this text is centered!

Without forcing me to left-justify my EOF marker. Tying space-stripping
to the placement of EOF is a Bad Idea, IMO. Do this if you want:

  if ( $its_all_good ) {
         (my $s = <<EOF) =~ s/\s{8}(.*?\n)/$1/g; print $s;
             Thank goodness this text isn't centered!
         EOF
  }

But this shouldn't be implicit in the language.

-Nate

Reply via email to