nadim khemir <[EMAIL PROTECTED]> writes:
> Thanks to your help (and trying to reproduce the error in simpler code) I
> have
> found an error in my testing and in the silly I used to fix it.
Ah. Cool. :)
> Note that:
>
> warning_like
> {
> warn "1\n2\n3" ;
> } qr/1\n2\n3/ ;
>
> still doesn't work properly.
May I?
use Test::More tests => 1;
use Test::Trap;
trap { warn "1\n2\n3" };
$trap->warn_like(0, qr/1\n2\n3/);
That works, properly. :)
Eirik
--
Two rights don't make a wrong, they make an airplane.