Return to Snippet

Revision: 70656
at May 24, 2016 14:54 by jacklnorthrup


Initial Code
#!/usr/bin/perl
use DBI;
my $dbh = DBI->connect('dbi:SQLite:dbname=test.sqlite','','',{AutoCommit=>1,RaiseError=>1,PrintError=>0});
print "2+2=",$dbh->selectrow_array("SELECT 2+2"),"\n";


"if the answer is 2+2=4 all is working"

Initial URL

                                

Initial Description

                                

Initial Title
Make and test SQLite it working with Perl

Initial Tags
perl

Initial Language
Perl