Re: Use of the --output flag

2018-10-09 Thread Simon Proctor
100% thanks a lot. :) On Tue, 9 Oct 2018 at 16:31, Timo Paulssen wrote: > --output is for the compiler's compilation stages > > for example: > > timo@schmand ~> perl6 --output=/tmp/outputtest --target=mbc -e 'say "hi"' > timo@schmand ~> moar --dump /tmp/outputtest | head > > MoarVM dump of

Re: Use of the --output flag

2018-10-09 Thread Timo Paulssen
--output is for the compiler's compilation stages for example: > timo@schmand ~> perl6 --output=/tmp/outputtest --target=mbc -e 'say "hi"' > timo@schmand ~> moar --dump /tmp/outputtest | head > > MoarVM dump of binary compilation unit: > >   SC_0 : B1DFAD9164F11E967B354508CC458ABAB8DEDC27 >  

Re: Use of the --output flag

2018-10-09 Thread Simon Proctor
It feels like a bug. I more wanted to know if anyone knew anything about it for the talk. Thanks On Tue, 9 Oct 2018, 14:49 Brad Gilbert, wrote: > My guess is that this is a bug. > > You can work around it by adding > > my $*OUT = q[test].IO.open(:w); > > in front of the code. > On Tue, Oct

Use of the --output flag

2018-10-09 Thread Simon Proctor
So... I'm working through some notes for a talk on Thursday and I am trying to work out how the --output flag is supposed to work. I would expect this to create a file called test and print "Hi\n" in it : perl6 --output=test -e 'say "Hi"' But instead I got Hi printed to the command line and an