In perl.git, the branch smoke-me/alh/indented-heredocs has been updated <http://perl5.git.perl.org/perl.git/commitdiff/29c1924a53c3d4f81b1ed137baceeb0b49a5fb35?hp=29de238ec4fff0838d53ec269e56087847ed20a4>
- Log ----------------------------------------------------------------- commit 29c1924a53c3d4f81b1ed137baceeb0b49a5fb35 Author: Abigail <[email protected]> Date: Sat Nov 12 16:37:48 2016 +0100 Undocument the need of the absence of space. Since we no longer require that with here-docs, an unquoted terminator follows the << without any whitespace in between, we no longer need to document this. ----------------------------------------------------------------------- Summary of changes: pod/perlop.pod | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) diff --git a/pod/perlop.pod b/pod/perlop.pod index 7e18682..de39732 100644 --- a/pod/perlop.pod +++ b/pod/perlop.pod @@ -2514,13 +2514,10 @@ the terminating string are the value of the item. Prefixing the terminating string with a C<~> specifies that you 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. +The terminating string may be either an identifier (a word), or +some quoted text. An unquoted identifier works like double quotes. +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. -- Perl5 Master Repository
