Help for this page

Select Code to Download


  1. or download this
      my $dbh = DBI->connect("dbi:SQLite:dbname=:memory:","","");
    
  2. or download this
    use File::Temp 'tempfile';
    my ($fh, $tempname) = tempfile();
    close $fh;
    END { unlink $tempname };
    my $dbh = DBI->connect("dbi:SQLite:dbname=$tempname","","");