learning-perl6/ch2/ex2-2.raku

8 lines
285 B
Raku

# Create a program that takes three command-line arguments and outputs them on separate, numbered linles. Give two fo the parameters default values
sub MAIN ($param1, $param2="two", $param3="three") {
say "1. PARAM1: $param1";
say "2. PARAM2: $param2";
say "3. PARAM3: $param3";
}