"AUTHOR" => "Luke Saunders <luke\@shadowcatsystems.co.uk>",
"BUILD_REQUIRES" => {
"DBIx::Class::InflateColumn::FS" => "0.01007",
+ "Devel::Confess" => 0,
"ExtUtils::MakeMaker" => "6.59",
"Test::More" => "0.98"
},
"IPC::Open3" => 0,
"Test::More" => "0.98"
},
- "VERSION" => "1.001028",
+ "VERSION" => "1.001_029",
"test" => {
"TESTS" => "t/*.t"
}
"DateTime::Format::MySQL" => 0,
"DateTime::Format::Pg" => 0,
"DateTime::Format::SQLite" => "0.1",
+ "Devel::Confess" => 0,
"ExtUtils::MakeMaker" => "6.59",
"File::Copy::Recursive" => "0.38",
"File::Spec" => 0,
use Path::Class;
use Data::Dumper;
use DBICTest::Schema2;
-
+use Devel::Confess;
use IO::All;
# set up and populate normal schema
unlink($dbix_class_different) if (-e $dbix_class_different );
-DBICTest->deploy_schema($schema2, 't lib sqlite_different.sql');
+DBICTest->deploy_schema($schema2, io->catfile(qw't lib sqlite_different.sql')->name);
# do dump
ok(my $fixtures = DBIx::Class::Fixtures->new({
my $schema = shift;
my $file = shift || $self->get_ddl_file($schema);
- open IN, $file;
+ open( my $fh, "<",$file ) or die "couldnt open $file, $!";
my $sql;
- { local $/ = undef; $sql = <IN>; }
- close IN;
+ { local $/ = undef; $sql = <$fh>; }
foreach my $line (split(/;\n/, $sql)) {
print "$line\n";