Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
-> should be <->
  • Loading branch information
TimToady committed Feb 24, 2015
1 parent 88bfdf0 commit baf99a8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/Language/5to6.pod
Expand Up @@ -619,7 +619,7 @@ The iteration variable is now always lexical; C<my> is neither needed nor allowe
In Perl 5, the iteration variable is a read-write alias to the current list element.
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«<->».
When translating, inspect the use of the loop variable to decide if read-write is needed.
for my $car (@cars) {...} # Perl 5; read-write
Expand Down

0 comments on commit baf99a8

Please sign in to comment.