Skip to content

Commit

Permalink
Update 01-00introduction.raku
Browse files Browse the repository at this point in the history
mistaken variable
  • Loading branch information
mykhal committed Jul 13, 2021
1 parent 70ab29b commit 2fd79e0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion categories/cookbook/01strings/01-00introduction.raku
Expand Up @@ -206,7 +206,7 @@ Assignments of non-strings set the variable to the appropriate type:
my $scalar = 1234;
say $scalar; # 1234
say '$scalar is ', $string.^name # $scalar is Int
say '$scalar is ', $scalar.^name # $scalar is Int
An object can be stringified, by using the ~ operator immediately
prior to the variable's sigil
Expand Down

0 comments on commit 2fd79e0

Please sign in to comment.