in reply to Finding a good routine

Use placeholders, e.g.
update mytable set sd = ? where key = ?
and put your scalars as parameters to the execute. See 'perldoc DBI' for details.

rdfield