Re: What are Perl 6's killer advantages over Perl 5?

2015-08-28 Thread yary
Oh dear... can we get non-strict for one liners with -E then? I admit it isn't an issue for me at the moment, as I do my one liners in perl5 currently Maybe I need to think functionally, so variable declaration isn't an issue at all -y On Fri, Aug 28, 2015 at 11:48 AM, Carl Mäsak wrote: > Mori

[perl #123889] .perl should escape invisible/space characters

2015-08-28 Thread Will Coleda via RT
On Fri Feb 20 00:03:46 2015, hmbrand wrote: > $ p6 -e'"\x[00A0]".gist.say' > > $ p6 -e'"\x[00A0]".perl.say' > " " > $ p6 -e'"\x[00A0]"~~/\s/ and "Yes".say' > $ p6 -e'uniprop(chr(0xa0)).say' > Zs > ^- indicates whitespace > > I don't know why U+200B (ZERO WIDTH SPACE) and U+FEFF (ZERO WIDTH NO- >

[perl #115052] [BUG] Mixing pairs and <> lists in the enum declaration gives a weird error in Rakudo

2015-08-28 Thread Will Coleda via RT
On Tue Jan 13 14:12:00 2015, barto...@gmx.de wrote: > The weird error does no longer occur: > > $ perl6-m -e 'enum A (b => 42, ); say A.enums.perl' > ("b" => 42, "c d e" => 43).hash > > Is that the expected result? (There is ticket > https://rt.perl.org/Ticket/Display.html?id=123191 complaining a

[perl #125935] [BUG] Cannot print a type captured copied into a variable in the parameter list of a role in Rakudo

2015-08-28 Thread Carl Mäsak
# New Ticket Created by "Carl Mäsak" # Please include the string: [perl #125935] # in the subject line of all future correspondence about this issue. # https://rt.perl.org/Ticket/Display.html?id=125935 > m: role R[::N, $result = N] { say $result }; my $r = R[Int].new rakudo-moar 5fb81f: OUT

[perl #125934] [BUG] &?ROUTINE changes to something else in gather in for loop

2015-08-28 Thread via RT
# New Ticket Created by Tobias Leich # Please include the string: [perl #125934] # in the subject line of all future correspondence about this issue. # https://rt.perl.org/Ticket/Display.html?id=125934 > m: sub foo { say &?ROUTINE.perl; gather for 1 { say &?ROUTINE.perl; }; gather for 1 { say

[perl6/specs] f3822a: Add GLRR lemma

2015-08-28 Thread GitHub
Branch: refs/heads/master Home: https://github.com/perl6/specs Commit: f3822a7f7d4bb38da5848192e693dde6ebe64a87 https://github.com/perl6/specs/commit/f3822a7f7d4bb38da5848192e693dde6ebe64a87 Author: Elizabeth Mattijsen Date: 2015-08-27 (Thu, 27 Aug 2015) Changed paths:

Re: What are Perl 6's killer advantages over Perl 5?

2015-08-28 Thread Carl Mäsak
Moritz (>>), Tux (>): >> I could continue with other Perl 5 deficiencies (no strict by default, > > Using strict *STILL* is not enabled by default for perl6 > one-liners either: > > $ perl6 -e'my Int $this = 1; $thıs++; say $this;' > 1 > $ perl6 -Mstrict -e'my Int $this = 1; $thıs++; say $this;' >