# $VERSION declaration must stay up here, ahead of any other package
# declarations, as to not confuse various modules attempting to determine
# this ones version, whether that be s.c.o. or Module::Metadata, etc
-$VERSION = '0.08249_02';
+$VERSION = '0.08249_03';
$VERSION = eval $VERSION if $VERSION =~ /_/; # numify for warning-free dev releases
}
my $meta = do { local @ARGV = 'META.yml'; local $/; <> };
+ $meta =~ /^\Qname: DBIx-Class\E$/m or do {
+ warn "Seemingly malformed META.yml...?\n";
+ unlink 'Makefile';
+ exit 1;
+ };
+
# this is safe as there is a fatal check earlier in the main Makefile.PL
# to make sure there are no duplicates (i.e. $opt_testdeps does not contain
# any real dependencies)