So that's no longer an issue, good news! Thanks for running that test
on the latest Rakudo Star and sharing the result.
-y
On Tue, Dec 1, 2015 at 5:16 PM, Andrew Kirkpatrick wrote:
> @yary, I'm using linux and for your program with the sole option -t
> Rakudo 2015.11:
> Usage:
> /tmp/test
@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=] [<*ARGS> ...]
On 2 December 2015 at 02:36, yary wrote:
> This variation confuses me. I expect $t to be constrained to "Str",
> but MAIN is letting it b
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
On Mon, Nov 30, 2015 at 2:56 AM, Marc Chantreux wrote:
> sub MAIN (*@*ARGS,:$t) {
> say "$t"
> # .say for padded-cols $t, $*ARGFILES.lines.map: (*.split($t))
> }
I changed your test code to better show the space, and it displays it OK.
sub MAIN (*@*ARGS,:$t) {
say ":$t:"
}
> perl6.