mirror of
https://github.com/adambard/learnxinyminutes-docs.git
synced 2024-12-26 00:31:39 +03:00
Merge pull request #980 from brxfork/patch-2
Perl6, minor change in comments
This commit is contained in:
commit
2fc71700da
@ -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 $_";
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user