in reply to CPAN test suites with SQL
Why not keep the SQLite files in :memory: ?
my $dbh = DBI->connect("dbi:SQLite:dbname=:memory:","","");
Alternatively, have the filenames be created by File::Temp and clean up afterwards:
use File::Temp 'tempfile'; my ($fh, $tempname) = tempfile(); close $fh; END { unlink $tempname }; my $dbh = DBI->connect("dbi:SQLite:dbname=$tempname","","");
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: CPAN test suites with SQL
by swl (Prior) on Apr 15, 2024 at 02:38 UTC | |
by NERDVANA (Priest) on Apr 15, 2024 at 04:55 UTC | |
|
Re^2: CPAN test suites with SQL
by LanX (Saint) on Apr 14, 2024 at 10:52 UTC | |
by cavac (Prior) on Apr 18, 2024 at 05:48 UTC | |
by NERDVANA (Priest) on Apr 18, 2024 at 17:42 UTC |