Works (𝐑𝐚𝐤𝐮𝐝𝐨™ v2021.06):
admin@mbook:~$ raku Luca_Ferrari2.p6
Usage:
Luca_Ferrari2.p6 [--dir=]
admin@mbook:~$ raku Luca_Ferrari2.p6 --dir=foo
foo
But...warning "Specify the directory [$dir]" isn't printing when
`--dir=foo` is omitted.
HTH, Bill.
On Tue, Apr 12, 2022 at 1:23 AM Luca Ferrari
Fails on 𝐑𝐚𝐤𝐮𝐝𝐨™ v2021.06.
~$ raku Luca_Ferrari.p6
Use of uninitialized value of type Any in string context.
Methods .^name, .raku, .gist, or .say can be used to stringify it to
something meaningful.
in block at Luca_Ferrari.p6 line 1
Specify the
directory []
in block at Luca_Ferrari.p6 line