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

#!/usr/bin/perl
use strict;
our($o);
BEGIN {
print "The first test will fail, all others will be skipped.\n\n";
$o = new Test::Inter;
}
BEGIN { $o->use_ok('Xxx::Yyy'); }
$o->ok();
$o->ok( 1 == 1 );
$o->ok( 1 == 2 );
$o->done_testing();