aboutsummaryrefslogtreecommitdiff
path: root/template/perl/snip-dbi-connect-sqlite.pl
diff options
context:
space:
mode:
Diffstat (limited to 'template/perl/snip-dbi-connect-sqlite.pl')
-rw-r--r--template/perl/snip-dbi-connect-sqlite.pl2
1 files changed, 2 insertions, 0 deletions
diff --git a/template/perl/snip-dbi-connect-sqlite.pl b/template/perl/snip-dbi-connect-sqlite.pl
new file mode 100644
index 0000000..9366290
--- /dev/null
+++ b/template/perl/snip-dbi-connect-sqlite.pl
@@ -0,0 +1,2 @@
+my $dbh = DBI->connect("dbi:SQLite:dbname={{_cursor_}}");
+$dbh->disconnect;