Documentation for sub
prompt assembled from the following types:
multi prompt()multi prompt()
$*OUT handle, if
$msg was provided, then gets a line of input from
$*IN handle. By default, this is equivalent to printing
$msg to STDOUT, reading a line from STDIN, removing the trailing new line, and returning the resultant string.
my = prompt "What's your name? ";say "Hi, $name! Nice to meet you!";