develooper Front page | perl.perl6.language | Postings from March 2009

r25770 - docs/Perl6/Spec

From:
pugs-commits
Date:
March 9, 2009 14:54
Subject:
r25770 - docs/Perl6/Spec
Message ID:
20090309215421.30935.qmail@feather.perl6.nl
Author: lwall
Date: 2009-03-09 22:54:20 +0100 (Mon, 09 Mar 2009)
New Revision: 25770

Modified:
   docs/Perl6/Spec/S02-bits.pod
   docs/Perl6/Spec/S05-regex.pod
Log:
.i should be \i
.text should be .Str


Modified: docs/Perl6/Spec/S02-bits.pod
===================================================================
--- docs/Perl6/Spec/S02-bits.pod	2009-03-09 21:49:00 UTC (rev 25769)
+++ docs/Perl6/Spec/S02-bits.pod	2009-03-09 21:54:20 UTC (rev 25770)
@@ -895,7 +895,7 @@
 Since native types cannot represent Perl's concept of undefined values,
 in the absence of explicit initialization, native floating-point types
 default to NaN, while integer types (including C<bit>) default to 0.
-The complex type defaults to NaN + NaN.i.  A buf type of known size
+The complex type defaults to NaN + NaN\i.  A buf type of known size
 defaults to a sequence of 0 values.  If any native type is explicitly
 initialized to C<*> (the C<Whatever> type), no initialization is attempted
 and you'll get whatever was already there when the memory was allocated.

Modified: docs/Perl6/Spec/S05-regex.pod
===================================================================
--- docs/Perl6/Spec/S05-regex.pod	2009-03-09 21:49:00 UTC (rev 25769)
+++ docs/Perl6/Spec/S05-regex.pod	2009-03-09 21:54:20 UTC (rev 25770)
@@ -2546,7 +2546,7 @@
     $/.to	# the final match position
     $/.chars	# $/.to - $/.from
     $/.orig	# the original match string
-    $/.text	# substr($/.orig, $/.from, $/.chars)
+    $/.Str	# substr($/.orig, $/.from, $/.chars)
 
 Within the regex the current match state C<$ยข> also provides
 




nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About