Skip to content

Commit 5f18bbf

Browse files
committed
better example
1 parent 522a231 commit 5f18bbf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

doc/Language/operators.pod6

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -184,7 +184,7 @@ This behavior is automatically extended to include custom-defined infix operator
184184
185185
Although not strictly operators, methods can be used in the same fashion.
186186
187-
my $a = 1/2;
187+
my Real $a = 1/2;
188188
$a = 3.14;
189189
$a .= round; # 3
190190

0 commit comments

Comments
 (0)