Author: masak
Date: 2009-07-24 16:28:42 +0200 (Fri, 24 Jul 2009)
New Revision: 27701

Modified:
   docs/Perl6/Spec/S06-routines.pod
Log:
[S06] fixed some spelling and consistency stuff

Modified: docs/Perl6/Spec/S06-routines.pod
===================================================================
--- docs/Perl6/Spec/S06-routines.pod    2009-07-24 14:24:11 UTC (rev 27700)
+++ docs/Perl6/Spec/S06-routines.pod    2009-07-24 14:28:42 UTC (rev 27701)
@@ -537,7 +537,7 @@
 
 The C<:p> stands for "pairs", not "positional"--the C<:p> adverb may be
 placed on any C<Associative> access subscript to make it mean "pairs" instead 
of "values".
-If you want the pair (or pairs) to be interpreted a named argument,
+If you want the pair (or pairs) to be interpreted as named arguments,
 you may do so by prefixing with the C<< prefix:<|> >> operator:
 
     doit |%hash<a>:p,1,2,3;
@@ -571,7 +571,7 @@
 Other sigils bind only to the I<last> argument with that name:
 
     sub fun (Int $x) { ... }
-    f( x => 1, x => 2 );                # $x := 2
+    fun( x => 1, x => 2 );              # $x := 2
     fun( x => (1, 2), x => (3, 4) );    # $x := (3, 4)
 
 This means a hash holding default values must come I<before> known named

Reply via email to