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-
# 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!===
# 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
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
> 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
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".
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
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