Author: masak
Date: 2009-07-23 11:11:33 +0200 (Thu, 23 Jul 2009)
New Revision: 27680

Modified:
   docs/Perl6/Spec/S12-objects.pod
Log:
[S12] added missing comma

We generally cannot have two terms in a row, and that goes for the
inside of hash arguments to a handles trait, too.

Modified: docs/Perl6/Spec/S12-objects.pod
===================================================================
--- docs/Perl6/Spec/S12-objects.pod     2009-07-23 03:53:05 UTC (rev 27679)
+++ docs/Perl6/Spec/S12-objects.pod     2009-07-23 09:11:33 UTC (rev 27680)
@@ -1319,7 +1319,7 @@
 other class.  If you put a hash, each key/value pair is treated as
 such a mapping.  Such mappings are not considered wildcards.
 
-    has $.fur handles { :shakefur<shake> :scratch<get_fleas> };
+    has $.fur handles { :shakefur<shake>, :scratch<get_fleas> };
 
 You I<can> do a wildcard renaming, but not with pairs.  Instead do smartmatch
 with a substitution:

Reply via email to