From Code to Community: Sponsoring The Perl and Raku Conference 2025 Learn more

use strict;
use lib 't/lib';
{
package DBICTest::Foo;
}
throws_ok { DBICTest::Foo->new("urgh") } qr/must be a hashref/;
done_testing;