PApp::SQL - absolutely easy yet fast and powerful sql access.
my $st = sql_exec $DBH, "select ... where a = ?", $a;
local $DBH = <database handle>;
my $st = sql_exec \my($bind_a, $bind_b), "select a,b ...";
my $id = sql_insertid
sql_exec "insert into ... values (?, ?)", $v1, $v2;
my $a = sql_fetch "select a from ...
This is the change log for the perl extension PApp::SQL.
2.0 Sat Jul 28 15:50:52 CEST 2012
- work around some bugs in DBD drivers (SQLite...) instead of
- use SvOKp to decide whether we should upgrade to utf-8.
- since DBD::mysql keeps changing their number detection code
and therefore keeps corrupting our data, call bind_param