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

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

From:
audreyt
Date:
June 7, 2006 08:36
Subject:
[svn:perl6-synopsis] r9527 - doc/trunk/design/syn
Message ID:
20060607153054.78BECCBA6D@x12.develooper.com
Author: audreyt
Date: Wed Jun  7 08:30:53 2006
New Revision: 9527

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

Log:
* S06: Fixed a minor typo noticed by szbalint++.

Modified: doc/trunk/design/syn/S06.pod
==============================================================================
--- doc/trunk/design/syn/S06.pod	(original)
+++ doc/trunk/design/syn/S06.pod	Wed Jun  7 08:30:53 2006
@@ -2107,9 +2107,9 @@
 as the original subroutine, but has the values passed to C<.assuming>
 already bound to the corresponding parameters:
 
-    $all  = $textfrom(0);   # same as: $all  = substr($text,0,Inf);
-    $some = $textfrom(50);  # same as: $some = substr($text,50,Inf);
-    $last = $textfrom(-1);  # same as: $last = substr($text,-1,Inf);
+    $all  = textfrom(0);   # same as: $all  = substr($text,0,Inf);
+    $some = textfrom(50);  # same as: $some = substr($text,50,Inf);
+    $last = textfrom(-1);  # same as: $last = substr($text,-1,Inf);
 
 The result of a C<use> statement is a (compile-time) object that also has
 an C<.assuming> method, allowing the user to bind parameters in all the



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