From cd462d1cc53183ca9fcc2567308e5ce24f162f89 Mon Sep 17 00:00:00 2001 From: Philippe Bricout Date: Sun, 1 Mar 2015 18:04:05 +0100 Subject: Perl6, minor change in comments It seems "when" should be replace by "given" at the end of the comment. --- 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 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 $_"; -- cgit v1.2.3