Author: larry Date: Sun Oct 8 16:51:56 2006 New Revision: 12873 Modified: doc/trunk/design/syn/S02.pod
Log: Allow Perl-consistent :foo and # policies within «...» Modified: doc/trunk/design/syn/S02.pod ============================================================================== --- doc/trunk/design/syn/S02.pod (original) +++ doc/trunk/design/syn/S02.pod Sun Oct 8 16:51:56 2006 @@ -12,9 +12,9 @@ Maintainer: Larry Wall <[EMAIL PROTECTED]> Date: 10 Aug 2004 - Last Modified: 1 Oct 2006 + Last Modified: 8 Oct 2006 Number: 2 - Version: 74 + Version: 75 This document summarizes Apocalypse 2, which covers small-scale lexical items and typological issues. (These Synopses also contain @@ -1462,6 +1462,15 @@ C<Pair> notation is also recognized inside C<«...»> and such "words" are returned as C<Pair> objects. +Colon pairs (but not arrow pairs) are recognized within double angles. +In addition, the double angles allow for comments beginning with C<#>. +These comments work exactly like ordinary comments in Perl code. +That is, C<#> at beginning of line is always a line-end comment, +otherwise a following bracket sequence implies an inline comment; +also, unlike in the shells, any literal C<#> must be quoted, even +ones without whitespace in front of them, but note that this comes +more or less for free with a colon pair like C<< :char<#x263a> >>. + =item * There is now a generalized adverbial form of Pair notation. The