cr...@animalhead.com writes:

> I've looked through the Test::More manpage, but cannot find what else
> I can do to suppress such error messages during testing.
>
> Can you please help?

You can use Test::Warn.

Or you could trap the warning message.

Here's what I use is some of my tests to mask specific warnings:

$SIG{__WARN__} = sub { warn $_[0] unless $_[0] =~ /unknown backend/};

Of course, this assumes that you are actually calling Perl's warn (see
perlapi(1)) and not the standard warn (see warn(3))

HTH
-- 
Dominique Dumont 
"Delivering successful solutions requires giving people what they
need, not what they want." Kurt Bittner

irc:
  domidumont at irc.freenode.net
  ddumont at irc.debian.org

Reply via email to