jacklnorthrup on 05/24/16
Last Edited at 05/24/16 02:54pm
#!/usr/bin/perluse 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"
Report this snippet Tweet
Comment:
You need to login to post a comment.