We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 88bfdf0 commit baf99a8Copy full SHA for baf99a8
lib/Language/5to6.pod
@@ -619,7 +619,7 @@ The iteration variable is now always lexical; C<my> is neither needed nor allowe
619
620
In Perl 5, the iteration variable is a read-write alias to the current list element.
621
622
-In Perl 6, that alias is read-only (for safety), unless you change C«->» to C«->».
+In Perl 6, that alias is read-only (for safety), unless you change C«->» to C«<->».
623
When translating, inspect the use of the loop variable to decide if read-write is needed.
624
625
for my $car (@cars) {...} # Perl 5; read-write
0 commit comments