@yary, I'm using linux and for your program with the sole option -t
Rakudo 2015.07.2:
(Bool)
:True:

Rakudo 2015.11:
Usage:
  /tmp/test.pl6 [-t=<Str>] [<*ARGS> ...]

On 2 December 2015 at 02:36, yary <not....@gmail.com> wrote:
> This variation confuses me. I expect $t to be constrained to "Str",
> but MAIN is letting it be a "Bool." I'm using Rakudo* from 201509, the
> 11 release isn't out for Windows-
>
> sub MAIN (*@*ARGS,Str :$t) {
>     say $t.WHAT;
>     say ":$t:"
>     # .say for padded-cols $t, $*ARGFILES.lines.map: (*.split($t))
> }
>
>> perl6 foo\m.p6 -t
> (Bool)
> :True:

Reply via email to