summaryrefslogtreecommitdiffhomepage
path: root/perl6.html.markdown
diff options
context:
space:
mode:
authorJeff Erickson <jeff@erick.so>2015-03-25 16:53:46 -0400
committerJeff Erickson <jeff@erick.so>2015-03-25 16:53:46 -0400
commit965d7972d1ef7dfbfc9c07de72bbce81898eb703 (patch)
treed04318dc47305c325dae140fe094af39fcc65c25 /perl6.html.markdown
parent649e7b0f7a241b0cb4abd6801a1a38cf1cfab008 (diff)
Minor typo: fixed curly bracket direction (} -> {)
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"