Course of Raku / Essentials / Positional data types / Exercises

Print command-line arguments

Task

Write a program that prints all the arguments it gets from the command line. Print them one at a line.

Example

This is how the program is supposed to work:

$ raku print-command-line-arguments.raku words to display
words
to
display

Solution

See the solution

Course navigation

Typed variables / Allomorphs   |   Associative data types

Translations of this page: EnglishDeutschEspañolItalianoLatviešuNederlandsБългарскиРусскийУкраїнська