develooper Front page | perl.perl6.language | Postings from April 2006

[svn:perl6-synopsis] r8638 - doc/trunk/design/syn

From:
larry
Date:
April 10, 2006 19:34
Subject:
[svn:perl6-synopsis] r8638 - doc/trunk/design/syn
Message ID:
20060411023445.8551BCB9EC@x12.develooper.com
Author: larry
Date: Mon Apr 10 19:34:44 2006
New Revision: 8638

Modified:
   doc/trunk/design/syn/S02.pod

Log:
Force # on the left margin to be line-end comment regardless of brackets.


Modified: doc/trunk/design/syn/S02.pod
==============================================================================
--- doc/trunk/design/syn/S02.pod	(original)
+++ doc/trunk/design/syn/S02.pod	Mon Apr 10 19:34:44 2006
@@ -104,6 +104,11 @@
 characters, however, such as the corner quotes above.)  Brackets may
 be nested following the same policy as ordinary quote brackets.
 
+As a special case to facilitate commenting out sections of code with
+C<s/^/#/>, C<#> on the left margin is always considered a line-end
+comment rather than an embedded comment, even if followed by a
+bracketing character.
+
 =item *
 
 For all quoting constructs that use user-selected brackets, multiple,



nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About