use DBIx::Class 0.08100;
use DBIx::Class::Exception;
use Class::Accessor::Grouped;
-use Path::Class qw(dir file);
+use Path::Class qw(dir file tempdir);
use File::Spec::Functions 'catfile', 'catdir';
use Config::Any::JSON;
use Data::Dump::Streamer;
use Data::Dumper;
use Class::C3::Componentised;
use MIME::Base64;
-use File::Temp qw/tempdir/;
use base qw(Class::Accessor::Grouped);
}
$self->msg("generating fixtures");
- my $tmp_output_dir = dir(tmpdir());
+ my $tmp_output_dir = tempdir();
if (-e $tmp_output_dir) {
$self->msg("- clearing existing $tmp_output_dir");
return 1 if $params->{no_populate};
$self->msg("\nimporting fixtures");
- my $tmp_fixture_dir = dir(tmpdir());
+ my $tmp_fixture_dir = tempdir();
my $version_file = file($fixture_dir, '_dumper_version');
my $config_set_path = file($fixture_dir, '_config_set');
my $config_set = -e $config_set_path ? do { my $VAR1; eval($config_set_path->slurp); $VAR1 } : '';