diff options
author | Philippe Bricout <ph.bricout@free.fr> | 2015-03-01 18:04:05 +0100 |
---|---|---|
committer | Philippe Bricout <ph.bricout@free.fr> | 2015-03-01 18:04:05 +0100 |
commit | cd462d1cc53183ca9fcc2567308e5ce24f162f89 (patch) | |
tree | 61aadf602c80ca500dbed8bdff834583bfa4c78d | |
parent | 733eced1bae0c341ff8819436f544d1f2b7a8b72 (diff) |
Perl6, minor change in comments
It seems "when" should be replace by "given" at the end of the comment.
-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 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 $_"; |