Restructure handling of the test scratch-dir, move all activity
[dbsrgits/DBIx-Class-Schema-Loader.git] / t / backcompat / 0.04006 / lib / dbixcsl_test_dir.pm
CommitLineData
c213fd3d 1package dbixcsl_test_dir;
2
3use warnings;
4use strict;
5
6our $tdir = 't/var';
7
8use base qw/Exporter/;
9our @EXPORT_OK = '$tdir';
10
11die "/t does not exist, this can't be right...\n"
12 unless -d 't';
13
14unless (-d $tdir) {
15 mkdir $tdir or die "Unable to create $tdir: $!\n";
16}
17
181;