Hi All,

Windows 10 22H2
RakudoΓäó v2025.03

where raku
C:\Program Files\Rakudo\bin\raku.exe


If I run my program with raku, @*ARGS works fine

    raku CobianWrapper.raku --help a b c d
    print "ARGS = <" ~ @*ARGS ~ ">\n";
    ARGS = <--help a b c d>


But if I run my program by its file extension,
@*ARGS is empty

    CobianWrapper.raku --help a b c d
    print "ARGS = <" ~ @*ARGS ~ ">\n";
    ARGS = <>


search.brave.com's AI states:

    @*ARGS should not be empty simply because a Raku script
    is run by its extension. If it is empty, the issue lies
    in how the script is being invoked, not in Raku's
    handling of @*ARGS

Now what am I doing wrong?

Yours in Confusion,
-T

Reply via email to