Skip to content

Commit a6ff140

Browse files
committed
oops. this is the correct fix.
1 parent 417e4c4 commit a6ff140

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/operators.pod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -278,7 +278,7 @@ semantics.
278278
Increments its argument by one, and returns the unincremented value.
279279
280280
my $x = 3;
281-
say ++$x; # 3
281+
say $x++; # 3
282282
say $x; # 4
283283
284284
It works by calling the L<succ> method (for I<successor>) on its argument,

0 commit comments

Comments
 (0)