Re: qx and echo question

2019-11-25 Thread ToddAndMargo via perl6-users
On Mon, Nov 25, 2019 at 6:46 AM ToddAndMargo via perl6-users mailto:perl6-users@perl.org>> wrote: Hi All, In Perl6 for Windows, how can I get "qx" (or other) to send the output to the shell as its happens (not afterwards)? >ver Microsoft Windows [Version 6.1.7601]

Re: pop ups in windows?

2019-11-25 Thread ToddAndMargo via perl6-users
On 2019-11-25 17:32, ToddAndMargo via perl6-users wrote: On Sun, Nov 24, 2019 at 2:59 AM ToddAndMargo via perl6-users mailto:perl6-users@perl.org>> wrote:     Hi All,     In windows "msg" only works on the pro version .  Do we     have some way of popping up messages to the user?     Many

Re: pop ups in windows?

2019-11-25 Thread ToddAndMargo via perl6-users
On Sun, Nov 24, 2019 at 2:59 AM ToddAndMargo via perl6-users mailto:perl6-users@perl.org>> wrote: Hi All, In windows "msg" only works on the pro version . Do we have some way of popping up messages to the user? Many thanks, -T On 2019-11-25 07:06, yary wrote: I don't

Re: for by 3?

2019-11-25 Thread ToddAndMargo via perl6-users
On 2019-11-25 04:12, William Michels via perl6-users wrote: Looks like your Perl6/Raku code is missing the "-e" command line flag: $ alias p6 alias p6='perl6 -e'

Re: qx and echo question

2019-11-25 Thread yary
So, you want to see the output as it happens, and the program doesn't need the output, it only needs the error code? my $proc = run 'ls'; say $proc.exitcode ?? 'error' !! 'good' ; I got that from the examples on https://docs.perl6.org/type/Proc#sub_run - even if documentation usually leaves you

(syntaxic choices) Re: split to walk into an HoH ?

2019-11-25 Thread Marc Chantreux
> I don't think so; just a stylistic choice well ... i tested ===> once because i'll choose any syntax that can spare me parenthesis especially in raku because i feel they are in the wrong place (scheme makes parenthesis right). Raku behaves better than perl in this regard because say (f

Re: pop ups in windows?

2019-11-25 Thread yary
I don't have my windows box handy, but I think you could run something like cmd /c prompt "Here is a message and hit enter to continue" eg, run "cmd /c" to open a cmd window, and have it run "prompt" to show a prompt in that window. -y On Sun, Nov 24, 2019 at 2:59 AM ToddAndMargo via

Re: split to walk into an HoH ?

2019-11-25 Thread Brian Duggan
On Friday, November 22, Marc Chantreux wrote: > hello, > > > You could also use the feed operator > > is there a reason to do so? i see none. I don't think so; just a stylistic choice -- though the documentation lists some potential benefits at the end of the section here

Re: for by 3?

2019-11-25 Thread William Michels via perl6-users
Looks like your Perl6/Raku code is missing the "-e" command line flag: mbook:~ homedir$ perl6 ' my @x=; for @x.rotor(3) -> ($,$,$third) { dd $third };' Could not open my @x=; for @x.rotor(3) -> ($,$,$third) { dd $third };. Failed to stat file: no such file or directory mbook:~ homedir$ perl6

qx and echo question

2019-11-25 Thread ToddAndMargo via perl6-users
Hi All, In Perl6 for Windows, how can I get "qx" (or other) to send the output to the shell as its happens (not afterwards)? >ver Microsoft Windows [Version 6.1.7601] >perl6 -e "qx ( ver );" (One of) my goal(s) is to watch "chkdsk" on the shell as it runs through its various stages. I