Author: larry
Date: Sat Jan 27 13:27:55 2007
New Revision: 13541
Modified:
doc/trunk/design/syn/S05.pod
Log:
Note that @ish quoting forms can save wear and tear on the <' '> keys.
Modified: doc/trunk/design/syn/S05.pod
==============================================================================
--- doc/trunk/design/syn/S05.pod (original)
+++ doc/trunk/design/syn/S05.pod Sat Jan 27 13:27:55 2007
@@ -14,9 +14,9 @@
Maintainer: Patrick Michaud <[EMAIL PROTECTED]> and
Larry Wall <[EMAIL PROTECTED]>
Date: 24 Jun 2002
- Last Modified: 19 Jan 2007
+ Last Modified: 27 Jan 2007
Number: 5
- Version: 46
+ Version: 47
This document summarizes Apocalypse 5, which is about the new regex
syntax. We now try to call them I<regex> rather than "regular
@@ -612,6 +612,24 @@
All string values pay attention to the current C<:ignorecase> setting,
while C<Regex> values use their own C<:ignorecase> settings.
+When you get tired of writing:
+
+ token sigil { <'$'> | <'@'> | <'@@'> | <'%'> | <'&'> | <'::'> }
+
+you can write:
+
+ token sigil { @('$','@','@@','%','&','::') }
+
+or
+
+ token sigil { @(< $ @ @@ % & :: >) }
+
+or (conjecturally) maybe just:
+
+ token sigil { @:< $ @ @@ % & :: > }
+
+assuming we make the C<@:> contextualizer govern only the next token.
+
=item *
An interpolated hash matches the longest possible key of the hash