summaryrefslogtreecommitdiffhomepage
path: root/perl6.html.markdown
diff options
context:
space:
mode:
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 1b320028..f0ef6600 100644
--- a/perl6.html.markdown
+++ b/perl6.html.markdown
@@ -560,7 +560,7 @@ subset VeryBigInteger of Int where * > 500;
multi sub sayit(Int $n) { # note the `multi` keyword here
say "Number: $n";
}
-multi sayit(Str $s) } # a multi is a `sub` by default
+multi sayit(Str $s) { # a multi is a `sub` by default
say "String: $s";
}
sayit("foo"); # prints "String: foo"