Re: [perl #131076] [LTA] Rakudo sees Perl 5 code even if there is none (for $x(42), $x(50) {…})

2017-03-29 Thread Brandon Allbery
That *is* Perl 5 syntax, though; it looks like the schema for $var (list) { ... } # the space is not required between the var and the parenthesized list On Wed, Mar 29, 2017 at 9:35 PM, Aleks-Daniel Jakimenko-Aleksejev < perl6-bugs-follo...@perl.org> wrote: > # New Ticket Created by Aleks-

[perl #131076] [LTA] Rakudo sees Perl 5 code even if there is none (for $x(42), $x(50) {…})

2017-03-29 Thread via RT
# New Ticket Created by Aleks-Daniel Jakimenko-Aleksejev # Please include the string: [perl #131076] # in the subject line of all future correspondence about this issue. # https://rt.perl.org/Ticket/Display.html?id=131076 > Code: my $x = *²; for $x(42), $x(50) { say $_ } Result: ===SORRY!===

[perl #131075] [BUG] harness6 runs incorrect number of tests when spec or stresstesting

2017-03-29 Thread via RT
# New Ticket Created by Jan-Olof Hendig # Please include the string: [perl #131075] # in the subject line of all future correspondence about this issue. # https://rt.perl.org/Ticket/Display.html?id=131075 > When running spectest (or stresstest) under harness6 not all files in spectest.data t

Re: write string requires an object with REPR MVMOSHandle

2017-03-29 Thread Shlomi Fish
On Wed, 29 Mar 2017 12:47:58 +0200 Elizabeth Mattijsen wrote: > > On 29 Mar 2017, at 12:36, Shlomi Fish wrote: > > > > On Wed, 29 Mar 2017 12:10:15 +0200 > > Timo Paulssen wrote: > > > >> As part of the IOwesome grant, zoffix is going to fix this error. It's > >> what you get when you try t

Re: write string requires an object with REPR MVMOSHandle

2017-03-29 Thread Elizabeth Mattijsen
> On 29 Mar 2017, at 12:36, Shlomi Fish wrote: > > On Wed, 29 Mar 2017 12:10:15 +0200 > Timo Paulssen wrote: > >> As part of the IOwesome grant, zoffix is going to fix this error. It's >> what you get when you try to write to or read from or do anything with a >> closed IO::Handle. >> >> When

Re: write string requires an object with REPR MVMOSHandle

2017-03-29 Thread Shlomi Fish
On Wed, 29 Mar 2017 12:10:15 +0200 Timo Paulssen wrote: > As part of the IOwesome grant, zoffix is going to fix this error. It's > what you get when you try to write to or read from or do anything with a > closed IO::Handle. > > When you use "LEAVE:" you're just declaring a label called "LEAVE".

Re: write string requires an object with REPR MVMOSHandle

2017-03-29 Thread Timo Paulssen
As part of the IOwesome grant, zoffix is going to fix this error. It's what you get when you try to write to or read from or do anything with a closed IO::Handle. When you use "LEAVE:" you're just declaring a label called "LEAVE". There are no labels with special function, so your code is equivale

write string requires an object with REPR MVMOSHandle

2017-03-29 Thread Gabor Szabo
I was running the following buggy code: sub save { my $fh = open('data.txt', :w); LEAVE: $fh.close; $fh.print("hello\n"); } save(); (note the : after the LEAVE) Which if I am not mistaken is basically the same as: sub save { my $fh = open('data.txt', :w); $fh.close; $fh