Course of Raku / Essentials
/ Functions essentials /
The MAIN
function / Reading
command-line arguments
Quiz — Reading command-line arguments
Here is the program:
sub MAIN($a) {
say $a;
}1
What does it print if it is run as shown below?
$ raku t.raku 123| 123 | Enter the expected output: ␣␣␣␣␣␣␣ |
2
What does it print now?
$ raku t.raku "123 456"| 123␣456 | Enter the expected output: ␣␣␣␣␣␣␣ |
Course navigation
← Reading command-line arguments | Quiz — Default values →
Translations of this page: English • Deutsch • Español • Italiano • Latviešu • Nederlands • Български • Русский • Українська