On Mon, 7 Oct 2002, Dakkar wrote: > print "Yes r\n" if "0" =~ /0/; > print "Yes s\n" if "0" =~ "0"; > > prints: > > Yes s > > It appears that the RE match returns a false value. If I match: > > print "Yes r\n" if "1" =~ /1/; > > it does print "Yes r". I also tried:
Probably a bug. Is this CVS parrot? If you want to take a whack at it yourself, have a look at IMCC/rule.pm or IMCC/Binop.pm (near the bottom, where "smartmatch" is handled). If not, could you run a "perl6 -k", then send me the resulting .imc file? /s