The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

TB2::NoWarnings - Test there are no warnings using TB2.

SYNOPSIS

    use TB2::NoWarnings;
    use Test::Simple tests => 2;

    ok(1);
    ok(2);

    warn "Blah";  # failure

DESCRIPTION

This demonstrates how to write a test library which catches

CAVEATS

It must be run before the plan is set. It should throw an error if the plan is already set, but it doesn't.