From 862d90da8f753222a518d5ffb4631b46f9dffc91 Mon Sep 17 00:00:00 2001 From: Philippe Bricout Date: Fri, 27 Feb 2015 16:31:15 +0100 Subject: Update perl6.html.markdown typo, wrong sub name in comment : mod => x-store --- perl6.html.markdown | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'perl6.html.markdown') 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 -- cgit v1.2.3