[perl #96424] NULL PMC on unmatched or non existent named capture

2011-08-07 Thread Patrick R. Michaud via RT
On Sun Aug 07 12:25:15 2011, ronaldxs wrote: > Seems at least partially fixed in nom but still may be related concerns > like > > nom: my $m = '34' ~~ /+|+/; say $m.perl; say > Nil.perl; my $x = $m // 4; say 'x is ', $x > nom: OUTPUT«()␤Nil␤x is ␤» > > See http://irclog.perlgeek.de/perl6/2011-

[perl #96472] Optional named capture in regex evaluates incorrectly to one in numeric context.

2011-08-07 Thread via RT
# New Ticket Created by Ron Schmidt # Please include the string: [perl #96472] # in the subject line of all future correspondence about this issue. # https://rt.perl.org:443/rt3/Ticket/Display.html?id=96472 > The first output below looks ok ... .\perl6 -e "my $m = '4' ~~ //; say $m; say $m

[perl #96424] NULL PMC on unmatched or non existent named capture

2011-08-07 Thread Ron Schmidt via RT
Seems at least partially fixed in nom but still may be related concerns like nom: my $m = '34' ~~ /+|+/; say $m.perl; say Nil.perl; my $x = $m // 4; say 'x is ', $x nom: OUTPUT«()␤Nil␤x is ␤» See http://irclog.perlgeek.de/perl6/2011-08-07#i_4239512