This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
[perl #65838] perlop: remove caveat here-doc without newline
authorDavid Nicol <davidnicol@gmail.com>
Mon, 20 Aug 2012 23:22:15 +0000 (16:22 -0700)
committerFather Chrysostomos <sprout@cpan.org>
Tue, 21 Aug 2012 21:11:02 +0000 (14:11 -0700)
pod/perlop.pod

index 983e141..0398f70 100644 (file)
@@ -2489,10 +2489,6 @@ you have to write
     the other
     E
 
-If the terminating identifier is on the last line of the program, you
-must be sure there is a newline after it; otherwise, Perl will give the
-warning B<Can't find string terminator "END" anywhere before EOF...>.
-
 Additionally, quoting rules for the end-of-string identifier are
 unrelated to Perl's quoting rules. C<q()>, C<qq()>, and the like are not
 supported in place of C<''> and C<"">, and the only interpolation is for