In perl.git, the branch blead has been updated <https://perl5.git.perl.org/perl.git/commitdiff/23665de87341f4f3452009759d4fc95ce30b8ced?hp=869c0123bc6047b420380c07c0e70498dafa30cb>
- Log ----------------------------------------------------------------- commit 23665de87341f4f3452009759d4fc95ce30b8ced Author: James E Keenan <[email protected]> Date: Thu Nov 29 22:12:10 2018 -0500 Correct typo commit 7db10ba954d4f6e9ecdd3b780871ed2c164a5158 Author: James E Keenan <[email protected]> Date: Thu Nov 29 22:09:41 2018 -0500 Drop sentence which is no longer valid as of 5.28 Per recommendation of Dan Book. For: RT 133705 ----------------------------------------------------------------------- Summary of changes: pod/perlop.pod | 7 +++---- t/op/heredoc.t | 2 +- 2 files changed, 4 insertions(+), 5 deletions(-) diff --git a/pod/perlop.pod b/pod/perlop.pod index c460d0bc5c..d6adbd11f2 100644 --- a/pod/perlop.pod +++ b/pod/perlop.pod @@ -2584,10 +2584,9 @@ want to use L</Indented Here-docs> (see below). The terminating string may be either an identifier (a word), or some quoted text. An unquoted identifier works like double quotes. There may not be a space between the C<< << >> and the identifier, -unless the identifier is explicitly quoted. (If you put a space it -will be treated as a null identifier, which is valid, and matches the -first empty line.) The terminating string must appear by itself -(unquoted and with no surrounding whitespace) on the terminating line. +unless the identifier is explicitly quoted. The terminating string +must appear by itself (unquoted and with no surrounding whitespace) +on the terminating line. If the terminating string is quoted, the type of quotes used determine the treatment of the text. diff --git a/t/op/heredoc.t b/t/op/heredoc.t index ca044a3a83..0a7bb06b0f 100644 --- a/t/op/heredoc.t +++ b/t/op/heredoc.t @@ -221,7 +221,7 @@ HEREDOC push @tests, [ "print <<~' EOF ';\n $string\n EOF\nEOF \n EOF \n EOF \n", " $string\n EOF\nEOF \n EOF \n", - "intented here-doc matches final delimiter correctly" + "indented here-doc matches final delimiter correctly" ]; for my $test (@tests) { -- Perl5 Master Repository
