diff options
author | Philippe Bricout <ph.bricout@free.fr> | 2015-02-27 16:31:15 +0100 |
---|---|---|
committer | Philippe Bricout <ph.bricout@free.fr> | 2015-02-27 16:31:15 +0100 |
commit | 862d90da8f753222a518d5ffb4631b46f9dffc91 (patch) | |
tree | 4d14c0b6a5af30fecaa59ef7b7cd8462ccd678b5 /perl6.html.markdown | |
parent | a8592af4e8a5a2381dd55344b6af8de35df673d1 (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.markdown | 2 |
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 |