example for execute is wrong, takes an array ref, not array

This commit is contained in:
Colin Kuskie 2005-07-25 20:48:03 +00:00
parent 6cb66e4fc5
commit 5a47ca6f1b

View file

@ -39,7 +39,7 @@ Package for interfacing with SQL databases. This package implements Perl DBI fun
use WebGUI::SQL;
my $sth = WebGUI::SQL->prepare($sql);
$sth->execute(@values);
$sth->execute([ @values ]);
$sth = WebGUI::SQL->read($sql);
$sth = WebGUI::SQL->unconditionalRead($sql);