Escaping { $ @ % in strings

2008-02-15 Thread Thom Boyer
S02 provides this example for treating curlies literally in a quoted string: qq:!c Here are { $two uninterpolated } curlies; But can I escape them with a backslash? I was surprised that I couldn't find anything in S02 which said either yes or no. Perhaps this falls under the heading of

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

2008-02-15 Thread larry
Author: larry Date: Fri Feb 15 09:45:52 2008 New Revision: 14508 Modified: doc/trunk/design/syn/S12.pod Log: Some clarifications requested by jonathan++ Changed role-private attributes to be declared with my $!foo The has declarator now explicitly always participates in composition

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

2008-02-15 Thread larry
Author: larry Date: Fri Feb 15 14:54:28 2008 New Revision: 14510 Modified: doc/trunk/design/syn/S02.pod Log: Clarification of identifier extensions requested by thom++ Modified: doc/trunk/design/syn/S02.pod == ---

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

2008-02-15 Thread larry
Author: larry Date: Fri Feb 15 10:17:28 2008 New Revision: 14509 Modified: doc/trunk/design/syn/S03.pod Log: Tightened up rules on grammar-munging subs, must use term:foo or prefix:foo Sigs of () and ($x) are no longer enough. Modified: doc/trunk/design/syn/S03.pod

Re: interpolating complex closures

2008-02-15 Thread Larry Wall
On Thu, Feb 14, 2008 at 04:16:02PM -0700, Thom Boyer wrote: S02 says A bare closure also interpolates in double-quotish context. I presume that there are no restrictions on the code inside that closure, but all the examples I've seen have nothing but expressions inside the closure (though

Re: Escaping { $ @ % in strings

2008-02-15 Thread Larry Wall
On Thu, Feb 14, 2008 at 03:51:21PM -0700, Thom Boyer wrote: S02 provides this example for treating curlies literally in a quoted string: qq:!c Here are { $two uninterpolated } curlies; But can I escape them with a backslash? I was surprised that I couldn't find anything in S02 which

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

2008-02-15 Thread Jonathan Lang
+Despite the appearance as a subscripting form, these names are resolved +not at run time but at compile time. The pseudo-subscripts need not +be simple scalars. These are extended with the same two-element list: + +infix:?? !! +infix:['??','!!'] Huh. I thought that

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

2008-02-15 Thread larry
Author: larry Date: Fri Feb 15 15:59:31 2008 New Revision: 14511 Modified: doc/trunk/design/syn/S02.pod Log: Clarification of backslash rules for non-interpolating chars for thom++ Modified: doc/trunk/design/syn/S02.pod

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

2008-02-15 Thread Larry Wall
On Fri, Feb 15, 2008 at 03:59:28PM -0800, Jonathan Lang wrote: : +Despite the appearance as a subscripting form, these names are resolved : +not at run time but at compile time. The pseudo-subscripts need not : +be simple scalars. These are extended with the same two-element list: : + :