Author: audreyt
Date: Thu Jun 29 19:34:45 2006
New Revision: 9724

Modified:
   doc/trunk/design/syn/S02.pod
Log:
* S02: kolibrie++ noticed that a heredoc without a semicolon is confusing,
       so we reasserted the Perl5 semantics by a TimToady++ ruling.

Modified: doc/trunk/design/syn/S02.pod
==============================================================================
--- doc/trunk/design/syn/S02.pod        (original)
+++ doc/trunk/design/syn/S02.pod        Thu Jun 29 19:34:45 2006
@@ -1811,15 +1811,18 @@
 Heredocs are no longer written with C<<< << >>>, but with an adverb on
 any other quote construct:
 
-    print qq:to/END/
+    print qq:to/END/;
         Give $amount to the man behind curtain number $curtain.
         END
 
-Other adverbs are also allowed:
+Other adverbs are also allowed, as are multiple heredocs within the same
+expression:
 
-    print q:c:to/END/
+    print q:c:to/END/, q:to/END/;
         Give $100 to the man behind curtain number {$curtain}.
         END
+        Here is a $non-interpolated string
+        END
 
 =item *
 

Reply via email to