1 package # hide from PAUSE
10 my $db_file = "t/var/UUIDTest.db";
12 unlink($db_file) if -e $db_file;
13 unlink($db_file . "-journal") if -e $db_file . "-journal";
14 mkdir("t/var") unless -d "t/var";
16 my $dsn = "dbi:SQLite:${db_file}";
18 return UUIDTest::Schema->compose_connection('UUIDTest' => $dsn);
22 my $value = defined $_[0] ? shift : '';
24 return ($value =~ m/ ^[0-9a-f]{8}-