Re: what type $in,$out and $err is

2018-10-28 Thread Brad Gilbert
That is talking about the arguments for the method/subroutine call. The way you pass in $in as True, is to add `:in` run "cat", "-n", :in, :out; The `:in` and `:out` are exactly the same as `:in(True)` `:out(True)` run "cat", "-n", :in(True), :out(True); Which is also the same as `in

Re: what type $in,$out and $err is

2018-10-28 Thread Brandon Allbery
It takes Any — and quite a few more things than are currently documented, like IIRC filenames, and looks at the actual type passed to decide what to do with it. On Sun, Oct 28, 2018 at 3:31 PM Xiao Yafeng wrote: > I'm curious about what type of $in is on Proc class. As described in > perl6doc:

what type $in,$out and $err is

2018-10-28 Thread Xiao Yafeng
I'm curious about what type of $in is on Proc class. As described in perl6doc: $in, $out and $err are the three standard streams of the to-be-launched program, and default to "-" meaning they inherit the stream from the parent process. Setting one (or more) of them to True makes the stream

Re: KEEP/UNDO phaser question

2018-10-28 Thread Elizabeth Mattijsen
> On 28 Oct 2018, at 01:51, Norman Gaywood wrote: > Just been reading the latest of Elizabeth's wonderful blog posts on how > phasers work in perl6: > https://opensource.com/article/18/10/how-phasers-work-perl-6 > > I have question on the KEEP/UNDO example: > { > KEEP $dbh.commit; >