Re: for by 3?

2019-11-27 Thread Elizabeth Mattijsen
> On 27 Nov 2019, at 01:04, William Michels via perl6-users > wrote: > Hi Simon, can you explain to me what the "->" arrow is doing in your above? > All I see in the docs is "->" used within the signature part of a sub. Maybe it becomes clearer when you realize that a sub is nothing but a bloc

Useless use of constant value

2019-11-27 Thread ToddAndMargo via perl6-users
Hi All, C:\NtUtil>perl6 -v This is Rakudo Star version 2019.03.1 built on MoarVM version 2019.03 implementing Perl 6.d for Windows What am I doing wrong here? unit module WinVer; # WinVer.pm6 sub WinVer() is export( :WinVer ) { #`{ Reference: https://www.gaijin.at/en/infos/windows-vers

Re: qx and echo question

2019-11-27 Thread ToddAndMargo via perl6-users
On Mon, Nov 25, 2019 at 9:02 PM ToddAndMargo via perl6-users mailto:perl6-us...@perl.org>> wrote: >> On Mon, Nov 25, 2019 at 6:46 AM ToddAndMargo via perl6-users >> mailto:perl6-us...@perl.org> >> wrote: >> >>

Re: Useless use of constant value

2019-11-27 Thread Elizabeth Mattijsen
Try naming the sub a different name from the class. For some reason "WinVer" is referring to the "WinVer" type object, instead of the WinVer sub. This may be a case of DIHWIDT, or a bug, not sure. > On 28 Nov 2019, at 05:07, ToddAndMargo via perl6-users > wrote: > > Hi All, > > C:\NtUtil>p

Re: Useless use of constant value

2019-11-27 Thread ToddAndMargo via perl6-users
On 28 Nov 2019, at 05:07, ToddAndMargo via perl6-users wrote: Hi All, C:\NtUtil>perl6 -v This is Rakudo Star version 2019.03.1 built on MoarVM version 2019.03 implementing Perl 6.d for Windows What am I doing wrong here? unit module WinVer; # WinVer.pm6 sub WinVer() is export( :WinVer