Ariel Scolnicov wrote: > > print <<END; > The next line contains a space at the end. > END > This is still a here document > END > > This can be very hard to discover. I find it hard to see myself doing > this on purpose. I agree with Larry that Perl should Do The Right Thing, but note that the command :set list in vi works wonders for finding this. Works great for here strings in ksh scripts too. :-) -Nate
- Pre-RFC: Require a warning on spaces after here-document &... Ariel Scolnicov
- Re: Pre-RFC: Require a warning on spaces after here-d... Larry Wall
- Re: Pre-RFC: Require a warning on spaces after he... Chaim Frenkel
- Nathan Wiger