summaryrefslogtreecommitdiffhomepage
path: root/perl6.html.markdown
diff options
context:
space:
mode:
authorPhilippe Bricout <ph.bricout@free.fr>2015-02-27 16:31:15 +0100
committerPhilippe Bricout <ph.bricout@free.fr>2015-02-27 16:31:15 +0100
commit862d90da8f753222a518d5ffb4631b46f9dffc91 (patch)
tree4d14c0b6a5af30fecaa59ef7b7cd8462ccd678b5 /perl6.html.markdown
parenta8592af4e8a5a2381dd55344b6af8de35df673d1 (diff)
Update perl6.html.markdown
typo, wrong sub name in comment : mod => x-store
Diffstat (limited to 'perl6.html.markdown')
-rw-r--r--perl6.html.markdown2
1 files changed, 1 insertions, 1 deletions
diff --git a/perl6.html.markdown b/perl6.html.markdown
index 72faecb6..3f1cab2e 100644
--- a/perl6.html.markdown
+++ b/perl6.html.markdown
@@ -201,7 +201,7 @@ sub mutate($n is rw) {
my $x = 42;
sub x-store() is rw { $x }
x-store() = 52; # in this case, the parentheses are mandatory
- # (else Perl 6 thinks `mod` is an identifier)
+ # (else Perl 6 thinks `x-store` is an identifier)
say $x; #=> 52