use DBI; my $dbh = DBI->connect( 'DBI:SQLite:/pfad/zu/db', $user, $passwort ) or die $DBI::errstr;