Course of Raku / Essentials / Typed variables / Exercises

Examine the result of prompt — Strings


Complete the following program to repeat the entered name and print the type of the value in the variable $name.

my $name = prompt 'What is your name? ';
# Continue here . . .


See the solution

Course navigation

Data type conversion / Converting types with prefix operators   |   Positional data types