Sorry - I probably didn't make my worries as clear as they should be. I am wondering if it is a problem with qr//m itself, rather than Test::More. Otherwise, maybe Test::More is doing something with the qr//m that I wasn't expecting? I tried looking inside the source of Test::More, but got lost pretty quick.
When you say "this looks like a bug" - do you mean in Test::More, perl, or my code?
If your code is supposed to show that Test::More is fine, well, I'm not sure that it does. Your last test *should* be failing rather than passing, for the same reason my test # 4 should be passing. $string *should* match $pattern_m, so like() should pass, and unlike() should fail.
Thanks,
Gary
In reply to Re^2: Use of qr// modifier with Test::More::like
by gary.monson
in thread Use of qr// modifier with Test::More::like
by gary.monson
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |