# New Ticket Created by  "Carl Mäsak" 
# Please include the string:  [perl #100472]
# in the subject line of all future correspondence about this issue. 
# <URL: https://rt.perl.org:443/rt3/Ticket/Display.html?id=100472 >


<moritz> nom: say 'aa' ~~ /(.)$1/
<p6eval> nom ebd4d8: OUTPUT«=> <a>␤ 0 => <a>␤␤»
<moritz> this... shouldn't match
<moritz> nom: my $a; say so  'aaa' ~~ /$a/
<p6eval> nom ebd4d8: OUTPUT«Use of uninitialized value in string
context␤Use of uninitialized value in string context␤Bool::True␤»
<moritz> RONG
* masak submits rakudobug

I guess the correct behavior of an undefined interpolated value is
simply to always fail that part of the match.

Reply via email to