FAQ
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

Search Discussions

Related Discussions

Discussion Navigation
viewthread | post
Discussion Overview
groupperl6-language @
categoriesperl
postedJul 6, '09 at 9:44p
activeJul 6, '09 at 9:44p
posts1
users1
websiteperl6.org

1 user in discussion

Pugs-commits: 1 post

People

Translate

site design / logo © 2021 Grokbase