summaryrefslogtreecommitdiffhomepage
path: root/perl6.html.markdown
diff options
context:
space:
mode:
authorPhilippe Bricout <ph.bricout@free.fr>2015-03-01 18:04:05 +0100
committerPhilippe Bricout <ph.bricout@free.fr>2015-03-01 18:04:05 +0100
commitcd462d1cc53183ca9fcc2567308e5ce24f162f89 (patch)
tree61aadf602c80ca500dbed8bdff834583bfa4c78d /perl6.html.markdown
parent733eced1bae0c341ff8819436f544d1f2b7a8b72 (diff)
Perl6, minor change in comments
It seems "when" should be replace by "given" at the end of the comment.
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 3f1cab2e..85ab1d79 100644
--- a/perl6.html.markdown
+++ b/perl6.html.markdown
@@ -283,7 +283,7 @@ for @array -> $variable {
}
# As we saw with given, for's default "current iteration" variable is `$_`.
-# That means you can use `when` in a `for` just like you were in a when.
+# That means you can use `when` in a `for` just like you were in a `given`.
for @array {
say "I've got $_";