clahti2
Posts: 107
|
Posted: 07/05/2012, 5:03 PM |
|
Hey guys:
The CCS5 documentation is mighty skinny on perl, I operate in PHP mostly but have a perl project at the moment. I have been able to reverse engineer most stuff by looking at the generated perl code, but I am now writing a function library in perl and need to update a record in an SQLite table. Could someone be so kind as to give me the perl equivalent to this simple PHP code? I could do my own perl DBD::SQLIte open/prepare/update/finalize however there must be a better CCS way.
function UpdateTest() {
$db = new clsDBmaster_config();
$SQL = "UPDATE test SET foo=\'bar\' WHERE recordid = 1";
$db->query($SQL);
}
Many thanks in advance!
|