Skip to content

Commit baf99a8

Browse files
committed
-> should be <->
1 parent 88bfdf0 commit baf99a8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/Language/5to6.pod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -619,7 +619,7 @@ The iteration variable is now always lexical; C<my> is neither needed nor allowe
619619
620620
In Perl 5, the iteration variable is a read-write alias to the current list element.
621621
622-
In Perl 6, that alias is read-only (for safety), unless you change C«->» to C«->».
622+
In Perl 6, that alias is read-only (for safety), unless you change C«->» to C«<->».
623623
When translating, inspect the use of the loop variable to decide if read-write is needed.
624624
625625
for my $car (@cars) {...} # Perl 5; read-write

0 commit comments

Comments
 (0)