BEGIN {
	@classes = qw(PPI::App::ppi_version::BDFOY);
	}

use Test::More tests => scalar @classes;

foreach my $class ( @classes )
	{
	print "Bail out! $class did not compile\n" unless use_ok( $class );
	}

use Test::More;

my @classes = @classes;

foreach my $class ( @classes ) {
	print "Bail out! $class did not compile\n" unless use_ok( $class );
	}

done_testing();

Use done_testing to get rid of BEGIN block
Use done_testing to get rid of BEGIN block