Re: Perl 6 script beginning lines: 'v6;' required?

2015-03-13 Thread Tom Browder
On Fri, Mar 13, 2015 at 8:01 AM, Brandon Allbery wrote: > On Fri, Mar 13, 2015 at 8:54 AM, Rob Hoelz wrote: ... Thanks Rob and Brandon. -Tom

Re: Perl 6 script beginning lines: 'v6;' required?

2015-03-13 Thread Brandon Allbery
On Fri, Mar 13, 2015 at 8:54 AM, Rob Hoelz wrote: > On Fri, 13 Mar 2015 07:13:31 -0500 > Tom Browder wrote: > > > I have seen the following beginning lines of Perl programs in some > > examples on the Perl 6 web site: > > > > #!/usr/bin/env perl6 > > v6; > > > > Isn't the 'v6' superflous giv

Re: Perl 6 script beginning lines: 'v6;' required?

2015-03-13 Thread Rob Hoelz
On Fri, 13 Mar 2015 07:13:31 -0500 Tom Browder wrote: > I have seen the following beginning lines of Perl programs in some > examples on the Perl 6 web site: > > #!/usr/bin/env perl6 > v6; > > Isn't the 'v6' superflous given the first line? > > Best regards, > > -Tom The specification do

Perl 6 script beginning lines: 'v6;' required?

2015-03-13 Thread Tom Browder
I have seen the following beginning lines of Perl programs in some examples on the Perl 6 web site: #!/usr/bin/env perl6 v6; Isn't the 'v6' superflous given the first line? Best regards, -Tom

[perl #123969] NullPointerException on jvm for same CStruct in CStruct

2015-03-13 Thread Christian Bartolomaeus via RT
The class definition no longer results in a NullPointerException: $ perl6-j -e 'class Foo is repr { has int32 $.idontcare; has Foo $.bar }; say "alive"' alive But it's not possible to create an object of class Foo (works on MoarVM): $ perl6-j -e 'class Foo is repr { has int32 $.idontcare; has F

Re: [perl #124059] plan is not lazy (enough)

2015-03-13 Thread Elizabeth Mattijsen
> On 13 Mar 2015, at 08:32, H. Merijn Brand (via RT) > wrote: > > # New Ticket Created by H. Merijn Brand > # Please include the string: [perl #124059] > # in the subject line of all future correspondence about this issue. > # https://rt.perl.org/Ticket/Display.html?id=124059 > > > > $ per

[perl #124059] plan is not lazy (enough)

2015-03-13 Thread via RT
# New Ticket Created by H. Merijn Brand # Please include the string: [perl #124059] # in the subject line of all future correspondence about this issue. # https://rt.perl.org/Ticket/Display.html?id=124059 > $ perl6 -e'(1,4..7,9..Inf).perl.say' (1, 4..7, 9..Inf) $ perl6 -e'my@x=1;my$x=4;@x.pus