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)
| Prev | Home (Copyright Gabor Szabo) Perl Training Israel | Next |
| Hello World - interpolation | Up | Numerical operations |