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

r27452 - docs/Perl6/Spec

From:
pugs-commits
Date:
July 6, 2009 14:44
Subject:
r27452 - docs/Perl6/Spec
Message ID:
20090706214432.11601.qmail@feather.perl6.nl
Author: moritz
Date: 2009-07-06 23:44:32 +0200 (Mon, 06 Jul 2009)
New Revision: 27452

Modified:
   docs/Perl6/Spec/S03-operators.pod
Log:
[S03] use real Perl 6 syntax where possible

Modified: docs/Perl6/Spec/S03-operators.pod
===================================================================
--- docs/Perl6/Spec/S03-operators.pod	2009-07-06 21:37:20 UTC (rev 27451)
+++ docs/Perl6/Spec/S03-operators.pod	2009-07-06 21:44:32 UTC (rev 27452)
@@ -3076,8 +3076,8 @@
     Any       Num       numeric equality        +$_ == X
     Any       Str       string equality         ~$_ eq X
 
-    Hash      Pair      test hash mapping       $_{Xkey} ~~ Xval
-    Any       Pair      test object attribute   .Xkey ~~ Xval (e.g. filetests)
+    Hash      Pair      test hash mapping       $_{X.key} ~~ X.value
+    Any       Pair      test object attribute   .X.key ~~ X.value (e.g. filetests)
 
     Set       Set       identical sets          $_ === X
     Hash      Set       hash keys same set      $_.keys === X




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