Skip to content

Commit

Permalink
Tweak names of two variables (#3535)
Browse files Browse the repository at this point in the history
The original names had the potential to cause confusion.
  • Loading branch information
usev6 committed Jul 25, 2020
1 parent e9b7ac4 commit 9db3069
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions doc/Language/contexts.pod6
Expand Up @@ -66,9 +66,9 @@ I<Number context> is called whenever we need to apply a numerical operation on a
variable.
=begin code
my $not-a-string = "1 ";
my $neither-a-string = "3 ";
say $not-a-string + $neither-a-string; # OUTPUT: «4␤»
my $stringone = "1 ";
my $stringthree = "3 ";
say $stringone + $stringthree; # OUTPUT: «4␤»
=end code
In the code above, strings will be interpreted in numeric context as long as
Expand Down

0 comments on commit 9db3069

Please sign in to comment.