hello,
i don't know if it's useful to feedback on it but i would like to share
about MAIN.
this is a very nice thing to have it built-in so the quality of your
scripts can be improved without effort ($*USAGE is very nice!) but
here are some parts i feel i miss.
* dealing with $*ARGFILES should be simpler (something like the closing @ in
perl5 signatures)
* a support of arguments cluster would be (both '-s -d +' and '-sd+' should be
valid)
* having something like auto-help that print $*USAGE on $*OUT
multi sub MAIN ( Bool :h(:$help), +@rest ) { $*USAGE.say }
aside: the perl6 error messages comes with escape caracters even if $*ERR isn't
tty.
this is unusual and makes things boring when you capture the error into
an editor or a filter. i don't know if it can be useful in some cases.
regards
marc