[perl #126249] $/ constructed just once in regex

2015-10-02 Thread via RT
# New Ticket Created by Faye # Please include the string: [perl #126249] # in the subject line of all future correspondence about this issue. # https://rt.perl.org/Ticket/Display.html?id=126249 > $ perl6 -e 'my token foo { foo { say $/.to } }; "foo" ~~ //' 3 $ perl6 -e 'my token foo { {} foo

[perl #126251] missing NYI makes shaped hashes error messages LTA

2015-10-02 Thread via RT
# New Ticket Created by Wenzel Peppmeyer # Please include the string: [perl #126251] # in the subject line of all future correspondence about this issue. # https://rt.perl.org/Ticket/Display.html?id=126251 > m: my %h{}; # OUTPUT«===SORRY!=== Error while compiling /tmp/FOE9PcfY9f␀Invalid hash

grep changes?

2015-10-02 Thread mt1957
Hi, noticed that grep doesn't accept a Match operation anymore In repl ... > grep { /\.pl6/ }, Method 'match' not found for invocant of class 'Any' Must now do explicitly match on the topic variable > grep { $_ ~~ /\.pl6/ }, (a.pl6) Is this change correct? perl6 version 2015.09-206-g8a195

Re: grep changes?

2015-10-02 Thread Philip Hazelden
Grep still accepts a regex, so `grep /\.pl6/, ` does what you want. On Fri, Oct 2, 2015 at 5:12 PM mt1957 wrote: > Hi, > noticed that grep doesn't accept a Match operation anymore > In repl ... > > > grep { /\.pl6/ }, > Method 'match' not found for invocant of class 'Any' > > Must now do expl

Re: grep changes?

2015-10-02 Thread mt1957
Hi Philip, Thanks for your answer. Seems that I've written it wrongly then. Doesn't the block get the topic variable in the same way like map or can't the block be used there at all? Greetings Marcel Grep still accepts a regex, so `grep /\.pl6/, ` does what you want. On Fri, Oct 2, 2015 at

[perl #126252] Lexical character classes cannot be used for complement or combined

2015-10-02 Thread via RT
# New Ticket Created by Ron Schmidt # Please include the string: [perl #126252] # in the subject line of all future correspondence about this issue. # https://rt.perl.org/Ticket/Display.html?id=126252 > The last two cases below fail and they should not. The problem was discussed on IRC here