2.3. Reading from the keyboard

Ask the user what's her name

When prompting the user with a question it is probably better to use the print keyword.
Similarly to say it prints to the screen but without the newline at the end.

=$*IN is the operator that reads in the input from the keyboard.
It reads up to (but not including) the ENTER the user presses. (Perl5: autochomp)

Example 2-3. examples/scalars/read_stdin.p6

#!/usr/bin/perl6

print "Please type in yourname: ";
my $name = readline;
say "Hello $name";