ASP4x-Captcha-Imager

 view release on metacpan or  search on metacpan

t/010-basic/000-setup.t  view on Meta::CPAN

use strict;
use warnings 'all';
use Test::More 'no_plan';

use DBI;
use Digest::MD5 'md5_hex';

my $dbfile = '/tmp/db_asp4captcha';
open my $ofh, '>', $dbfile
  or die "Cannot open '$dbfile' for writing: $!";
binmode($ofh);
SCOPE: {
  no warnings 'uninitialized';
  print $ofh undef;
};
close($ofh);

my $dbh = DBI->connect("DBI:SQLite:dbname=$dbfile", "", "", {
  RaiseError => 1,
});



( run in 0.400 second using v1.01-cache-2.11-cpan-87723dcf8b7 )