Skip to content

Commit b17117b

Browse files
committed
s/value/variable/
1 parent 8ed9913 commit b17117b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/Language/5to6.pod

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -608,7 +608,7 @@ I<Deleting an element in a hash>
608608
609609
Mostly unchanged; parens around the conditions are now optional, but if
610610
used, must not immediately follow the keyword, or it will be taken as a function
611-
call instead. Binding the conditional expression to a value is also a little different:
611+
call instead. Binding the conditional expression to a variable is also a little different:
612612
613613
if (my $x = dostuff()) {...} # Perl 5
614614
if dostuff() -> $x {...} # Perl 6
@@ -631,7 +631,7 @@ See also the warnings on the smart-match op above.
631631
632632
Mostly unchanged; parens around the conditions are now optional, but if
633633
used, must not immediately follow the keyword, or it will be taken as a function
634-
call instead. Binding the conditional expression to a value is also a little different:
634+
call instead. Binding the conditional expression to a variable is also a little different:
635635
636636
while (my $x = dostuff()) {...} # Perl 5
637637
while dostuff() -> $x {...} # Perl 6

0 commit comments

Comments
 (0)