learning-perl6/ch3/ex3-2.raku

7 lines
156 B
Raku
Raw Permalink Normal View History

2023-11-12 16:33:31 +00:00
# Take 2 arguments from command line, output their types
sub MAIN ($arg1, $arg2) {
say "arg1 type is {$arg1.^name}";
say "arg2 type is {$arg2.^name}";
}