develooper Front page | perl.perl6.language | Postings from June 2008

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

Thread Next
From:
larry
Date:
June 11, 2008 16:49
Subject:
[svn:perl6-synopsis] r14549 - doc/trunk/design/syn
Author: larry
Date: Wed Jun 11 16:49:17 2008
New Revision: 14549

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

Log:
Fixes suggested by Ryan++


Modified: doc/trunk/design/syn/S03.pod
==============================================================================
--- doc/trunk/design/syn/S03.pod	(original)
+++ doc/trunk/design/syn/S03.pod	Wed Jun 11 16:49:17 2008
@@ -1057,8 +1057,11 @@
 
 Note that these differ:
 
-    $min ..^ $max	$ min .. $max-1
-    $min .. ^$max	# $min .. (0..$max-1)
+    0 ..^ 10	# 0 .. 9
+    0 .. ^10	# 0 .. (0..9)
+
+(It's not yet clear what the second one should mean, but whether it
+succeeds or fails, it won't do what you want.)
 
 =back
 

Thread Next


Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About