use $sth->prepare() and $sth->execute. you can also ( and should ) use the $sth->bind_param( :1, 'foo' ) (check your DBI driver for syntax) to bind the parameters for input (and use $sth->bind_col( 1, \$foo ) for quick output access.
DBI was designed for speed from the beginning (so says Tim Bunce), so use the features that are there.
In reply to RE: DBI inserts and what not
by geektron
in thread DBI inserts and what not
by lindex
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |