* D Perrett via perl5-porters <perl5-porters@perl.org> [2015-10-19T16:00:57] > Therefore, aren't real users going to be least surprised by something > that does... > > $x == $y || $x eq $y > This would mean $number_three ~~ "3\n" is true when I forget to chomp > just like $number_three == "3\n". The only case I can see where that's > really wrong is "inferior" ~~ "informative" and 0 ~~ ''; and I wonder > if ~~ could special-case inf strings and empty strings. Maybe you've left out some key point that would prevent "1rhodeisland" ~~ "1mississippi" from being true, or, worse, "rhodeisland" ~~ "mississippi". I don't think this is a workable proposal. -- rjbsThread Previous | Thread Next