Author: larry
Date: Tue May 29 09:18:54 2007
New Revision: 14404

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

Log:
Applied s:g{ '[-1]' } = '[*-1]' patch from Dataweaver++


Modified: doc/trunk/design/syn/S02.pod
==============================================================================
--- doc/trunk/design/syn/S02.pod        (original)
+++ doc/trunk/design/syn/S02.pod        Tue May 29 09:18:54 2007
@@ -1379,7 +1379,7 @@
 
 =item *
 
-The C<$#foo> notation is dead.  Use C<@foo.end> or C<@foo[-1]> instead.
+The C<$#foo> notation is dead.  Use C<@foo.end> or C<@foo[*-1]> instead.
 (Or C<@foo.shape[$dimension]> for multidimensional arrays.)
 
 =back

Modified: doc/trunk/design/syn/S03.pod
==============================================================================
--- doc/trunk/design/syn/S03.pod        (original)
+++ doc/trunk/design/syn/S03.pod        Tue May 29 09:18:54 2007
@@ -1606,7 +1606,7 @@
 
 =item *
 
-C<qw{ ... }> gets a synonym: C< < ... > >, and an interpolating
+C<qw{ ... }> gets a synonym: C<< < ... > >>, and an interpolating
 variant, C<«...»>.
 For those still living without the blessings of Unicode, that can also be
 written: C<<< << ... >> >>>.
@@ -1614,7 +1614,7 @@
 =item *
 
 In item context comma C<,> now constructs a C<List> object from its
-operands.  You have to use a C<[-1]> subscript to get the last one.
+operands.  You have to use a C<[*-1]> subscript to get the last one.
 
 =item *
 
@@ -2146,7 +2146,7 @@
 
 is short for something like:
 
-    @[EMAIL PROTECTED], @array[-1] xx *
+    @[EMAIL PROTECTED], @array[*-1] xx *
 
 An empty Range cannot be iterated; it returns a C<Failure> instead.  An empty
 range still has a defined min and max, but the min is greater than the max.
@@ -3050,8 +3050,8 @@
 
 are equivalent to
 
-    $x = @y[0] = @y[1] = @y[2] ... @y[-1] = $z = 0
-    $x += @y[0] += @y[1] += @y[2] ... @y[-1] += $z += 1
+    $x = @y[0] = @y[1] = @y[2] ... @y[*-1] = $z = 0
+    $x += @y[0] += @y[1] += @y[2] ... @y[*-1] += $z += 1
 
 rather than
 

Reply via email to